mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-11 17:27:33 +08: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 dc7420c2c92. Discussion: https://postgr.es/m/CAH2-Wzmes12jFNDcVgpU89Vp=r6uLFrE-MT0fjSWGsE70UiNaA@mail.gmail.com
This commit is contained in:
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user