diff options
author | Andres Freund <andres@anarazel.de> | 2024-04-17 11:21:17 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2024-04-17 11:21:17 -0700 |
commit | 3ab8cf92754d5ee4390af4e4840fb45d5bc25007 (patch) | |
tree | 5c2d51ef4f31d77c62a311329130cf93f8e2dba8 /src/include/utils/snapmgr.h | |
parent | 0c2f5552d5d47c702f5077a2df131d3125d96132 (diff) | |
download | postgresql-3ab8cf92754d5ee4390af4e4840fb45d5bc25007.tar.gz postgresql-3ab8cf92754d5ee4390af4e4840fb45d5bc25007.zip |
Remove GlobalVisTestNonRemovable[Full]Horizon, not used anymore
GlobalVisTestNonRemovableHorizon() was only used for the implementation of
snapshot_too_old, which was removed in f691f5b80a8. As using
GlobalVisTestNonRemovableHorizon() is not particularly efficient, no new uses
for it should be added. Therefore remove.
Discussion: https://postgr.es/m/20240415185720.q4dg4dlcyvvrabz4@awork3.anarazel.de
Diffstat (limited to 'src/include/utils/snapmgr.h')
-rw-r--r-- | src/include/utils/snapmgr.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/utils/snapmgr.h b/src/include/utils/snapmgr.h index 4cf79085f4d..9398a84051c 100644 --- a/src/include/utils/snapmgr.h +++ b/src/include/utils/snapmgr.h @@ -107,8 +107,6 @@ typedef struct GlobalVisState GlobalVisState; extern GlobalVisState *GlobalVisTestFor(Relation rel); extern bool GlobalVisTestIsRemovableXid(GlobalVisState *state, TransactionId xid); extern bool GlobalVisTestIsRemovableFullXid(GlobalVisState *state, FullTransactionId fxid); -extern FullTransactionId GlobalVisTestNonRemovableFullHorizon(GlobalVisState *state); -extern TransactionId GlobalVisTestNonRemovableHorizon(GlobalVisState *state); extern bool GlobalVisCheckRemovableXid(Relation rel, TransactionId xid); extern bool GlobalVisCheckRemovableFullXid(Relation rel, FullTransactionId fxid); |