summaryrefslogtreecommitdiff
path: root/src/include/access
diff options
context:
space:
mode:
authorMichael Paquier2019-07-01 01:00:23 +0000
committerMichael Paquier2019-07-01 01:00:23 +0000
commitc74d49d41c9e0fabeb1179dcabfb3137833ed831 (patch)
treed5406f4f6578181174e178c68ba320ac9395648a /src/include/access
parent459c3cdb4ad8323bfe6bcae0186a3831e0c89c94 (diff)
Fix many typos and inconsistencies
Author: Alexander Lakhin Discussion: https://postgr.es/m/af27d1b3-a128-9d62-46e0-88f424397f44@gmail.com
Diffstat (limited to 'src/include/access')
-rw-r--r--src/include/access/attnum.h2
-rw-r--r--src/include/access/hash.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/attnum.h b/src/include/access/attnum.h
index f16441a5876..093eee86c6c 100644
--- a/src/include/access/attnum.h
+++ b/src/include/access/attnum.h
@@ -55,7 +55,7 @@ typedef int16 AttrNumber;
)
/*
- * AttributeOffsetGetAttributeNumber
+ * AttrOffsetGetAttrNumber
* Returns the attribute number for an attribute offset.
*/
#define AttrOffsetGetAttrNumber(attributeOffset) \
diff --git a/src/include/access/hash.h b/src/include/access/hash.h
index 210351863e2..107c3d01ae4 100644
--- a/src/include/access/hash.h
+++ b/src/include/access/hash.h
@@ -457,7 +457,7 @@ extern void hashbucketcleanup(Relation rel, Bucket cur_bucket,
BufferAccessStrategy bstrategy,
uint32 maxbucket, uint32 highmask, uint32 lowmask,
double *tuples_removed, double *num_index_tuples,
- bool bucket_has_garbage,
+ bool split_cleanup,
IndexBulkDeleteCallback callback, void *callback_state);
#endif /* HASH_H */