From 617fffee8a6f350ff03069e2843ecd039ea06ccc Mon Sep 17 00:00:00 2001 From: Peter Geoghegan Date: Sun, 7 Feb 2021 10:11:14 -0800 Subject: Rename removable xid function for consistency. GlobalVisIsRemovableFullXid() is now GlobalVisCheckRemovableFullXid(). This is consistent with the general convention for FullTransactionId equivalents of functions that deal with TransactionId values. It now matches the nearby GlobalVisCheckRemovableXid() function, which performs the same check for callers that use TransactionId values. Oversight in commit dc7420c2c92. Discussion: https://postgr.es/m/CAH2-Wzmes12jFNDcVgpU89Vp=r6uLFrE-MT0fjSWGsE70UiNaA@mail.gmail.com --- src/backend/access/gist/gistutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/access/gist/gistutil.c') diff --git a/src/backend/access/gist/gistutil.c b/src/backend/access/gist/gistutil.c index cf53dad474..a3ec9f2cfe 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; } -- cgit v1.2.1