aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2024-05-01 13:23:25 +1200
committerDavid Rowley <drowley@postgresql.org>2024-05-01 13:23:25 +1200
commite3f9dcabd6f2c4c1845f16ec24b59e0751b055af (patch)
tree1fe0f0d51446e34d1b6101e4d374033106be07e0 /doc/src
parent56d30fb10d5ce5e2d8b432eeaca8ecf2fc2a6900 (diff)
downloadpostgresql-e3f9dcabd6f2c4c1845f16ec24b59e0751b055af.tar.gz
postgresql-e3f9dcabd6f2c4c1845f16ec24b59e0751b055af.zip
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
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions