aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/access/gist/gistutil.c2
-rw-r--r--src/backend/access/gist/gistxlog.c2
-rw-r--r--src/backend/storage/ipc/procarray.c2
-rw-r--r--src/include/utils/snapmgr.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/gist/gistutil.c b/src/backend/access/gist/gistutil.c
index cf53dad4743..a3ec9f2cfe4 100644
--- a/src/backend/access/gist/gistutil.c
+++ b/src/backend/access/gist/gistutil.c
@@ -914,7 +914,7 @@ gistPageRecyclable(Page page)
*/
FullTransactionId deletexid_full = GistPageGetDeleteXid(page);
- return GlobalVisIsRemovableFullXid(NULL, deletexid_full);
+ return GlobalVisCheckRemovableFullXid(NULL, deletexid_full);
}
return false;
}
diff --git a/src/backend/access/gist/gistxlog.c b/src/backend/access/gist/gistxlog.c
index c1d4b5d4f23..f2eda79bc1a 100644
--- a/src/backend/access/gist/gistxlog.c
+++ b/src/backend/access/gist/gistxlog.c
@@ -388,7 +388,7 @@ gistRedoPageReuse(XLogReaderState *record)
* pages in the index via the FSM. That's all they do though.
*
* latestRemovedXid was the page's deleteXid. The
- * GlobalVisIsRemovableFullXid(deleteXid) test in gistPageRecyclable()
+ * GlobalVisCheckRemovableFullXid(deleteXid) test in gistPageRecyclable()
* conceptually mirrors the PGPROC->xmin > limitXmin test in
* GetConflictingVirtualXIDs(). Consequently, one XID value achieves the
* same exclusion effect on primary and standby.
diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c
index cf12eda5041..4085891237a 100644
--- a/src/backend/storage/ipc/procarray.c
+++ b/src/backend/storage/ipc/procarray.c
@@ -4146,7 +4146,7 @@ GlobalVisTestNonRemovableHorizon(GlobalVisState *state)
* GlobalVisTestIsRemovableFullXid(), see their comments.
*/
bool
-GlobalVisIsRemovableFullXid(Relation rel, FullTransactionId fxid)
+GlobalVisCheckRemovableFullXid(Relation rel, FullTransactionId fxid)
{
GlobalVisState *state;
diff --git a/src/include/utils/snapmgr.h b/src/include/utils/snapmgr.h
index c21ee3c289c..2c8b881a09d 100644
--- a/src/include/utils/snapmgr.h
+++ b/src/include/utils/snapmgr.h
@@ -155,7 +155,7 @@ extern bool GlobalVisTestIsRemovableFullXid(GlobalVisState *state, FullTransacti
extern FullTransactionId GlobalVisTestNonRemovableFullHorizon(GlobalVisState *state);
extern TransactionId GlobalVisTestNonRemovableHorizon(GlobalVisState *state);
extern bool GlobalVisCheckRemovableXid(Relation rel, TransactionId xid);
-extern bool GlobalVisIsRemovableFullXid(Relation rel, FullTransactionId fxid);
+extern bool GlobalVisCheckRemovableFullXid(Relation rel, FullTransactionId fxid);
/*
* Utility functions for implementing visibility routines in table AMs.