mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
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 dc7420c2c9
.
Discussion: https://postgr.es/m/CAH2-Wzmes12jFNDcVgpU89Vp=r6uLFrE-MT0fjSWGsE70UiNaA@mail.gmail.com
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user