aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-11-02 11:25:18 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2020-11-02 11:25:18 -0500
commit7957e75c588c0b17210d4379afb50ea2673b0d20 (patch)
treed02a815b2aa9e5d2a59b7e16e184cf4d80f54c7d /src/backend/executor/nodeModifyTable.c
parent57fae192f8f7d094159c913f10fcfd11cd827332 (diff)
downloadpostgresql-7957e75c588c0b17210d4379afb50ea2673b0d20.tar.gz
postgresql-7957e75c588c0b17210d4379afb50ea2673b0d20.zip
Second thoughts on TOAST decompression.
On detecting a corrupted match tag, pglz_decompress() should just summarily return -1. Breaking out of the loop, as I did in dfc797730, doesn't quite guarantee that will happen. Also, we can use unlikely() on that check, just in case it helps. Backpatch to v13, like the previous patch.
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions