diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-08-05 12:14:58 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-08-05 12:14:58 +0900 |
commit | 8548ddc61b5858b6466e69f66a6b1a7ea9daef06 (patch) | |
tree | e94be5d2f212ed5185180b0ebbb5fc060e1f32b6 /src/backend/access/gist/gistget.c | |
parent | 75506195da81d75597a4025b72f8367e6c45f60d (diff) | |
download | postgresql-8548ddc61b5858b6466e69f66a6b1a7ea9daef06.tar.gz |
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/gist/gistget.c')
-rw-r--r-- | src/backend/access/gist/gistget.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/access/gist/gistget.c b/src/backend/access/gist/gistget.c index 4e0c500a22..95ac35e3bb 100644 --- a/src/backend/access/gist/gistget.c +++ b/src/backend/access/gist/gistget.c @@ -74,7 +74,7 @@ gistkillitems(IndexScanDesc scan) /* * Mark all killedItems as dead. We need no additional recheck, because, - * if page was modified, pageLSN must have changed. + * if page was modified, curPageLSN must have changed. */ for (i = 0; i < so->numKilled; i++) { @@ -379,11 +379,11 @@ gistScanPage(IndexScanDesc scan, GISTSearchItem *pageItem, double *myDistances, /* * Check if the page was deleted after we saw the downlink. There's - * nothing of interest on a deleted page. Note that we must do this - * after checking the NSN for concurrent splits! It's possible that - * the page originally contained some tuples that are visible to us, - * but was split so that all the visible tuples were moved to another - * page, and then this page was deleted. + * nothing of interest on a deleted page. Note that we must do this after + * checking the NSN for concurrent splits! It's possible that the page + * originally contained some tuples that are visible to us, but was split + * so that all the visible tuples were moved to another page, and then + * this page was deleted. */ if (GistPageIsDeleted(page)) { |