Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
440c8d1b
Commit
440c8d1b
authored
8 years ago
by
Peter Eisentraut
Browse files
Options
Downloads
Patches
Plain Diff
Fix some typos in comment
parent
9779bda8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/include/access/hash.h
+3
-3
3 additions, 3 deletions
src/include/access/hash.h
with
3 additions
and
3 deletions
src/include/access/hash.h
+
3
−
3
View file @
440c8d1b
...
@@ -119,7 +119,7 @@ typedef HashScanOpaqueData *HashScanOpaque;
...
@@ -119,7 +119,7 @@ typedef HashScanOpaqueData *HashScanOpaque;
#define HASH_VERSION 2
/* 2 signifies only hash key value is stored */
#define HASH_VERSION 2
/* 2 signifies only hash key value is stored */
/*
/*
*
S
pares[] holds the number of overflow pages currently allocated at or
*
s
pares[] holds the number of overflow pages currently allocated at or
* before a certain splitpoint. For example, if spares[3] = 7 then there are
* before a certain splitpoint. For example, if spares[3] = 7 then there are
* 7 ovflpages before splitpoint 3 (compare BUCKET_TO_BLKNO macro). The
* 7 ovflpages before splitpoint 3 (compare BUCKET_TO_BLKNO macro). The
* value in spares[ovflpoint] increases as overflow pages are added at the
* value in spares[ovflpoint] increases as overflow pages are added at the
...
@@ -129,14 +129,14 @@ typedef HashScanOpaqueData *HashScanOpaque;
...
@@ -129,14 +129,14 @@ typedef HashScanOpaqueData *HashScanOpaque;
*
*
* ovflpages that have been recycled for reuse can be found by looking at
* ovflpages that have been recycled for reuse can be found by looking at
* bitmaps that are stored within ovflpages dedicated for the purpose.
* bitmaps that are stored within ovflpages dedicated for the purpose.
* The blknos of these bitmap pages are kept in
bit
map
s
[]; nmaps is the
* The blknos of these bitmap pages are kept in map
p
[]; nmaps is the
* number of currently existing bitmaps.
* number of currently existing bitmaps.
*
*
* The limitation on the size of spares[] comes from the fact that there's
* The limitation on the size of spares[] comes from the fact that there's
* no point in having more than 2^32 buckets with only uint32 hashcodes.
* no point in having more than 2^32 buckets with only uint32 hashcodes.
* There is no particular upper limit on the size of mapp[], other than
* There is no particular upper limit on the size of mapp[], other than
* needing to fit into the metapage. (With 8K block size, 128 bitmaps
* needing to fit into the metapage. (With 8K block size, 128 bitmaps
* limit us to 64 G
b
of overflow space...)
* limit us to 64 G
B
of overflow space...)
*/
*/
#define HASH_MAX_SPLITPOINTS 32
#define HASH_MAX_SPLITPOINTS 32
#define HASH_MAX_BITMAPS 128
#define HASH_MAX_BITMAPS 128
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment