aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/hash/hashinsert.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-08-05 12:14:58 +0900
committerMichael Paquier <michael@paquier.xyz>2019-08-05 12:14:58 +0900
commit8548ddc61b5858b6466e69f66a6b1a7ea9daef06 (patch)
treee94be5d2f212ed5185180b0ebbb5fc060e1f32b6 /src/backend/access/hash/hashinsert.c
parent75506195da81d75597a4025b72f8367e6c45f60d (diff)
downloadpostgresql-8548ddc61b5858b6466e69f66a6b1a7ea9daef06.tar.gz
postgresql-8548ddc61b5858b6466e69f66a6b1a7ea9daef06.zip
Fix inconsistencies and typos in the tree, take 9
This addresses more issues with code comments, variable names and unreferenced variables. Author: Alexander Lakhin Discussion: https://postgr.es/m/7ab243e0-116d-3e44-d120-76b3df7abefd@gmail.com
Diffstat (limited to 'src/backend/access/hash/hashinsert.c')
-rw-r--r--src/backend/access/hash/hashinsert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/hash/hashinsert.c b/src/backend/access/hash/hashinsert.c
index 5321762d5ea..89876d2ccd0 100644
--- a/src/backend/access/hash/hashinsert.c
+++ b/src/backend/access/hash/hashinsert.c
@@ -257,8 +257,8 @@ restart_insert:
* _hash_pgaddtup() -- add a tuple to a particular page in the index.
*
* This routine adds the tuple to the page as requested; it does not write out
- * the page. It is an error to call pgaddtup() without pin and write lock on
- * the target buffer.
+ * the page. It is an error to call this function without pin and write lock
+ * on the target buffer.
*
* Returns the offset number at which the tuple was inserted. This function
* is responsible for preserving the condition that tuples in a hash index