postgresql/src/test/regress
David Rowley e3f9dcabd6 Ensure we allocate NAMEDATALEN bytes for names in Index Only Scans
As an optimization, we store "name" columns as cstrings in btree
indexes.

Here we modify it so that Index Only Scans convert these cstrings back
to names with NAMEDATALEN bytes rather than storing the cstring in the
tuple slot, as was happening previously.

Bug: #17855
Reported-by: Alexander Lakhin
Reviewed-by: Alexander Lakhin, Tom Lane
Discussion: https://postgr.es/m/17855-5f523e0f9769a566@postgresql.org
Backpatch-through: 12, all supported versions
2024-05-01 13:23:25 +12:00
..
data
expected Ensure we allocate NAMEDATALEN bytes for names in Index Only Scans 2024-05-01 13:23:25 +12:00
input Choose FK name correctly during partition attachment 2022-09-08 13:17:02 +02:00
output Choose FK name correctly during partition attachment 2022-09-08 13:17:02 +02:00
sql Ensure we allocate NAMEDATALEN bytes for names in Index Only Scans 2024-05-01 13:23:25 +12:00
.gitignore
GNUmakefile
Makefile
parallel_schedule Fix crashes with CREATE SCHEMA AUTHORIZATION and schema elements 2023-04-28 19:29:42 +09:00
pg_regress_main.c
pg_regress.c pg_regress: Disable autoruns for cmd.exe on Windows 2024-01-12 14:00:02 +09:00
pg_regress.h
README
regress.c
regressplans.sh
resultmap
serial_schedule Fix crashes with CREATE SCHEMA AUTHORIZATION and schema elements 2023-04-28 19:29:42 +09:00
standby_schedule

Documentation concerning how to run these regression tests and interpret
the results can be found in the PostgreSQL manual, in the chapter
"Regression Tests".