postgresql/contrib/amcheck
Alexander Korotkov b1fe8efdf1 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-24 00:09:24 +02:00
..
expected amcheck: Normalize index tuples containing uncompressed varlena 2024-03-24 00:09:24 +02:00
sql amcheck: Normalize index tuples containing uncompressed varlena 2024-03-24 00:09:24 +02:00
t Fix buildfarm failures from 2af07e2f74. 2024-03-04 19:42:16 -08:00
.gitignore
amcheck--1.0--1.1.sql
amcheck--1.0.sql
amcheck--1.1--1.2.sql
amcheck--1.2--1.3.sql
amcheck--1.3--1.4.sql
amcheck.control
Makefile
meson.build
verify_heapam.c
verify_nbtree.c amcheck: Normalize index tuples containing uncompressed varlena 2024-03-24 00:09:24 +02:00