postgresql/src/backend/access
Thomas Munro f691f5b80a Remove the "snapshot too old" feature.
Remove the old_snapshot_threshold setting and mechanism for producing
the error "snapshot too old", originally added by commit 848ef42b.
Unfortunately it had a number of known problems in terms of correctness
and performance, mostly reported by Andres in the course of his work on
snapshot scalability.  We agreed to remove it, after a long period
without an active plan to fix it.

This is certainly a desirable feature, and someone might propose a new
or improved implementation in the future.

Reported-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CACG%3DezYV%2BEvO135fLRdVn-ZusfVsTY6cH1OZqWtezuEYH6ciQA%40mail.gmail.com
Discussion: https://postgr.es/m/20200401064008.qob7bfnnbu4w5cw4%40alap3.anarazel.de
Discussion: https://postgr.es/m/CA%2BTgmoY%3Daqf0zjTD%2B3dUWYkgMiNDegDLFjo%2B6ze%3DWtpik%2B3XqA%40mail.gmail.com
2023-09-05 19:53:43 +12:00
..
brin Remove the "snapshot too old" feature. 2023-09-05 19:53:43 +12:00
common Introduce macros for protocol characters. 2023-08-22 19:16:12 -07:00
gin Remove the "snapshot too old" feature. 2023-09-05 19:53:43 +12:00
gist Remove the "snapshot too old" feature. 2023-09-05 19:53:43 +12:00
hash Remove the "snapshot too old" feature. 2023-09-05 19:53:43 +12:00
heap Remove the "snapshot too old" feature. 2023-09-05 19:53:43 +12:00
index Add SysCacheGetAttrNotNull for guaranteed not-null attrs 2023-03-25 22:49:33 +01:00
nbtree Remove the "snapshot too old" feature. 2023-09-05 19:53:43 +12:00
rmgrdesc Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
spgist Remove the "snapshot too old" feature. 2023-09-05 19:53:43 +12:00
table Consider fillfactor when estimating relation size 2023-07-03 18:55:31 +02:00
tablesample Update copyright for 2023 2023-01-02 15:00:37 -05:00
transam Tweak pg_promote() to report failures on kill() or postmaster failures 2023-08-29 08:45:04 +09:00
Makefile Introduce access/{table.h, relation.h}, for generic functions from heapam.h. 2019-01-21 10:51:36 -08:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00