diff options
author | Peter Geoghegan <pg@bowt.ie> | 2021-02-07 10:11:14 -0800 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2021-02-07 10:11:14 -0800 |
commit | 617fffee8a6f350ff03069e2843ecd039ea06ccc (patch) | |
tree | 23aaafd788ef73bf4be0541975ced8bcf7df6522 /src/backend/storage/ipc | |
parent | d1d2979852538d7021cc809a40ef127d59747697 (diff) | |
download | postgresql-617fffee8a6f350ff03069e2843ecd039ea06ccc.tar.gz postgresql-617fffee8a6f350ff03069e2843ecd039ea06ccc.zip |
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
Diffstat (limited to 'src/backend/storage/ipc')
-rw-r--r-- | src/backend/storage/ipc/procarray.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |