aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/stringutils.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2021-05-29 14:48:15 +1200
committerThomas Munro <tmunro@postgresql.org>2021-05-29 15:14:53 +1200
commit82248f227b6d304e2da13655d8458a98682d2dac (patch)
tree1ce60ab08b8f4fdf18e481f94133392f0cc072e2 /src/bin/psql/stringutils.c
parent40a05cf245b867f018a13e06ed3e9a2419a4090a (diff)
downloadpostgresql-82248f227b6d304e2da13655d8458a98682d2dac.tar.gz
postgresql-82248f227b6d304e2da13655d8458a98682d2dac.zip
Fix race condition when sharing tuple descriptors.
Parallel query processes that called BlessTupleDesc() for identical tuple descriptors at the same moment could crash. There was code to handle that rare case, but it dereferenced a bogus DSA pointer. Repair. Back-patch to 11, where commit cc5f8136 added support for sharing tuple descriptors in parallel queries. Reported-by: Eric Thinnes <e.thinnes@gmx.de> Discussion: https://postgr.es/m/99aaa2eb-e194-bf07-c29a-1a76b4f2bcf9%40gmx.de
Diffstat (limited to 'src/bin/psql/stringutils.c')
0 files changed, 0 insertions, 0 deletions