Remove GlobalVisTestNonRemovable[Full]Horizon, not used anymore
authorAndres Freund <andres@anarazel.de>
Wed, 17 Apr 2024 18:21:17 +0000 (11:21 -0700)
committerAndres Freund <andres@anarazel.de>
Wed, 17 Apr 2024 18:21:17 +0000 (11:21 -0700)
commit3ab8cf92754d5ee4390af4e4840fb45d5bc25007
tree5c2d51ef4f31d77c62a311329130cf93f8e2dba8
parent0c2f5552d5d47c702f5077a2df131d3125d96132
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
src/backend/storage/ipc/procarray.c
src/include/utils/snapmgr.h