postgresql/contrib/amcheck
Alexander Korotkov 54e6184db3 amcheck: Support for different header sizes of short varlena datum
In the heap, tuples may contain short varlena datum with both 1B header and 4B
headers.  But the corresponding index tuple should always have such varlena's
with 1B headers.  So, for fingerprinting, we need to convert.

Backpatch to all supported versions.

Discussion: https://postgr.es/m/flat/7bdbe559-d61a-4ae4-a6e1-48abdf3024cc%40postgrespro.ru
Author: Michael Zhilin
Reviewed-by: Alexander Lakhin, Andrey Borodin, Jian He, Alexander Korotkov
Backpatch-through: 12
2024-03-23 23:02:43 +02:00
..
expected amcheck: Support for different header sizes of short varlena datum 2024-03-23 23:02:43 +02:00
sql amcheck: Support for different header sizes of short varlena datum 2024-03-23 23:02:43 +02:00
t amcheck: Distinguish interrupted page deletion from corruption. 2023-10-30 14:46:08 -07:00
.gitignore Add .gitignore to contrib/amcheck. 2017-03-09 22:45:24 -05: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 Add amcheck extension to contrib. 2017-03-09 16:33:02 -08:00
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.control Extend amcheck to check heap pages. 2020-10-22 08:44:18 -04:00
Makefile amcheck: Distinguish interrupted page deletion from corruption. 2023-10-30 14:46:08 -07:00
verify_heapam.c amcheck: In verify_heapam, allows tuples with xmin 0. 2023-03-28 16:17:03 -04:00
verify_nbtree.c amcheck: Support for different header sizes of short varlena datum 2024-03-23 23:02:43 +02:00