postgres/contrib/amcheck
Heikki Linnakangas 4d8275046c Remove remants of "snapshot too old"
Remove the 'whenTaken' and 'lsn' fields from SnapshotData. After the
removal of the "snapshot too old" feature, they were never set to a
non-zero value.

This largely reverts commit 3e2f3c2e42, which added the
OldestActiveSnapshot tracking, and the init_toast_snapshot()
function. That was only required for setting the 'whenTaken' and 'lsn'
fields. SnapshotToast is now a constant again, like SnapshotSelf and
SnapshotAny. I kept a thin get_toast_snapshot() wrapper around
SnapshotToast though, to check that you have a registered or active
snapshot. That's still a useful sanity check.

Reviewed-by: Nathan Bossart, Andres Freund, Tom Lane
Discussion: https://www.postgresql.org/message-id/cd4b4f8c-e63a-41c0-95f6-6e6cd9b83f6d@iki.fi
2024-12-09 18:13:03 +02:00
..
expected Fix typos and duplicate words 2024-04-18 21:28:07 +02:00
sql Fix typos and duplicate words 2024-04-18 21:28:07 +02:00
t Allow TAP tests to force checksums off when calling init() 2024-10-14 11:25:03 +02:00
.gitignore
amcheck--1.1--1.2.sql Allow amcheck to re-find tuples using new search. 2019-03-20 10:41:36 -07:00
amcheck--1.2--1.3.sql Extend amcheck to check heap pages. 2020-10-22 08:44:18 -04:00
amcheck--1.3--1.4.sql Teach contrib/amcheck to check the unique constraint violation 2023-10-28 00:21:23 +03:00
amcheck--1.0--1.1.sql Add amcheck verification of heap relations belonging to btree indexes. 2018-03-31 19:52:01 -07:00
amcheck--1.0.sql
amcheck.control Teach contrib/amcheck to check the unique constraint violation 2023-10-28 00:21:23 +03:00
Makefile amcheck: Distinguish interrupted page deletion from corruption. 2023-10-30 14:46:05 -07:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
verify_heapam.c Remove remants of "snapshot too old" 2024-12-09 18:13:03 +02:00
verify_nbtree.c Remove useless casts to (void *) 2024-11-28 08:27:20 +01:00