Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
e8cd6f14
Commit
e8cd6f14
authored
Jan 29, 2007
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comment noting that hashm_procid in a hash index's metapage isn't
actually used for anything.
parent
c120dd26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/backend/access/hash/hashpage.c
src/backend/access/hash/hashpage.c
+6
-1
No files found.
src/backend/access/hash/hashpage.c
View file @
e8cd6f14
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/hash/hashpage.c,v 1.6
3 2007/01/05 22:19:22 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/access/hash/hashpage.c,v 1.6
4 2007/01/29 23:22:59 tgl
Exp $
*
* NOTES
* Postgres hash pages look like ordinary relation pages. The opaque
...
...
@@ -275,6 +275,11 @@ _hash_metapinit(Relation rel)
metap
->
hashm_bmshift
=
i
+
BYTE_TO_BIT
;
Assert
((
1
<<
BMPG_SHIFT
(
metap
))
==
(
BMPG_MASK
(
metap
)
+
1
));
/*
* Label the index with its primary hash support function's OID. This is
* pretty useless for normal operation (in fact, hashm_procid is not used
* anywhere), but it might be handy for forensic purposes so we keep it.
*/
metap
->
hashm_procid
=
index_getprocid
(
rel
,
1
,
HASHPROC
);
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment