pgsql: Remove GlobalVisTestNonRemovable[Full]Horizon, not used anymore - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Remove GlobalVisTestNonRemovable[Full]Horizon, not used anymore
Date
Msg-id E1rxAOq-002Y2K-0D@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3ab8cf92754d5ee4390af4e4840fb45d5bc25007

Modified Files
--------------
src/backend/storage/ipc/procarray.c | 30 ------------------------------
src/include/utils/snapmgr.h         |  2 --
2 files changed, 32 deletions(-)


pgsql-committers by date:

Previous
From: Tomas Vondra
Date:
Subject: pgsql: Cleanup parallel BRIN index build code
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Refactoring for CommitTransactionCommand()/AbortCurrentTransacti