aboutsummaryrefslogtreecommitdiff
path: root/src/backend/backup/basebackup.c
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2024-04-14 18:19:52 +0200
committerTomas Vondra <tomas.vondra@postgresql.org>2024-04-14 18:19:58 +0200
commitbb616ed3e6a2b263be320026e1660bd36827c858 (patch)
treed92c53ca9ce2d69221aa33117994619da956b399 /src/backend/backup/basebackup.c
parent2f20ced1eb53de396d8a420fa5cffca2a2376de4 (diff)
downloadpostgresql-bb616ed3e6a2b263be320026e1660bd36827c858.tar.gz
postgresql-bb616ed3e6a2b263be320026e1660bd36827c858.zip
Use the correct PG_DETOAST_DATUM macro in BRIN
Commit 6bcda4a721 replaced PG_DETOAST_DATUM with PG_DETOAST_DATUM_PACKED in two BRIN output functions, for minmax-multi and bloom opclasses. But this is incorrect - the code is accessing the data through structs that already include a 4B header, so the detoast needs to match that. But the PACKED macro may keep the 1B header, which means the struct fields will point to incorrect data. Backpatch-through: 16 Discussion: https://postgr.es/m/1df00a66-db5a-4e66-809a-99b386a06d86%40enterprisedb.com
Diffstat (limited to 'src/backend/backup/basebackup.c')
0 files changed, 0 insertions, 0 deletions