From 8548ddc61b5858b6466e69f66a6b1a7ea9daef06 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Mon, 5 Aug 2019 12:14:58 +0900 Subject: 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 --- src/backend/access/gist/gistget.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/backend/access/gist/gistget.c') 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)) { -- cgit v1.2.1