postgres/contrib/amcheck
Alexander Korotkov 3676b846b1 amcheck: Normalize index tuples containing uncompressed varlena
It might happen that the varlena value wasn't compressed by index_form_tuple()
due to current storage parameters.  If compression is currently enabled, we
need to compress such values to match index tuple coming from the heap.

Backpatch to all supported versions.

Discussion: https://postgr.es/m/flat/7bdbe559-d61a-4ae4-a6e1-48abdf3024cc%40postgrespro.ru
Author: Andrey Borodin
Reviewed-by: Alexander Lakhin, Michael Zhilin, Jian He, Alexander Korotkov
Backpatch-through: 12
2024-03-23 23:02:30 +02:00
..
expected amcheck: Normalize index tuples containing uncompressed varlena 2024-03-23 23:02:30 +02:00
sql amcheck: Normalize index tuples containing uncompressed varlena 2024-03-23 23:02:30 +02:00
t amcheck: Distinguish interrupted page deletion from corruption. 2023-10-30 14:46:08 -07:00
.gitignore
Makefile amcheck: Distinguish interrupted page deletion from corruption. 2023-10-30 14:46:08 -07: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--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
meson.build amcheck: Distinguish interrupted page deletion from corruption. 2023-10-30 14:46:08 -07:00
verify_heapam.c Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
verify_nbtree.c amcheck: Normalize index tuples containing uncompressed varlena 2024-03-23 23:02:30 +02:00