summaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_backup_archiver.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2019-11-04 09:54:47 +0100
committerPeter Eisentraut <peter@eisentraut.org>2019-11-04 09:55:21 +0100
commit2dbe5706bb9485d7293798e8f80e9d9ba78fbfdc (patch)
treeac519441da7191cff15ce5ec64c1c8d872a7d9cd /src/bin/pg_dump/pg_backup_archiver.c
parentd43bd9dce854ff8c2a088999dd860b05d19ebc5a (diff)
Catch invalid typlens in a couple of places
Rearrange the logic in record_image_cmp() and record_image_eq() to error out on unexpected typlens (either not supported there or completely invalid due to corruption). Barring corruption, this is not possible today but it seems more future-proof and robust to fix this. Reported-by: Peter Geoghegan <pg@bowt.ie>
Diffstat (limited to 'src/bin/pg_dump/pg_backup_archiver.c')
0 files changed, 0 insertions, 0 deletions