postgresql/src/backend
Thomas Munro b1d6538903 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
2021-05-29 15:12:34 +12:00
..
access Fix VACUUM VERBOSE's LP_DEAD item pages output. 2021-05-27 17:09:16 -07:00
bootstrap Rethink definition of pg_attribute.attcompression. 2021-05-27 13:24:27 -04:00
catalog Reduce the range of OIDs reserved for genbki.pl. 2021-05-27 15:55:08 -04:00
commands Rethink definition of pg_attribute.attcompression. 2021-05-27 13:24:27 -04:00
executor Fix planner's use of Result Cache with unique joins 2021-05-22 16:22:27 +12:00
foreign Update copyright for 2021 2021-01-02 13:06:25 -05:00
jit Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
lib Fix typo in comment 2021-04-20 14:35:16 +02:00
libpq Disallow SSL renegotiation 2021-05-25 10:10:09 +09:00
main Update copyright for 2021 2021-01-02 13:06:25 -05:00
nodes Fix mishandling of resjunk columns in ON CONFLICT ... UPDATE tlists. 2021-05-10 11:02:29 -04:00
optimizer Fix use of uninitialized variable in inline_function(). 2021-05-25 12:55:55 -04:00
parser Rethink definition of pg_attribute.attcompression. 2021-05-27 13:24:27 -04:00
partitioning Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
po Translation updates 2021-05-17 14:30:27 +02:00
port Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
postmaster Be more verbose when the postmaster unexpectedly quits. 2021-05-23 10:50:21 -04:00
regex Fix performance issue in new regex match-all detection code. 2021-05-03 11:42:31 -04:00
replication Fix assertion during streaming of multi-insert toast changes. 2021-05-27 07:59:43 +05:30
rewrite Remove unused function argument 2021-05-03 09:05:58 +02:00
snowball Update snowball 2021-02-19 08:10:15 +01:00
statistics Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
storage Fix typo and outdated information in README.barrier 2021-05-18 09:54:56 +12:00
tcop Restore the portal-level snapshot after procedure COMMIT/ROLLBACK. 2021-05-21 14:03:59 -04:00
tsearch Fix typos and grammar in comments and docs 2021-04-19 11:32:30 +09:00
utils Fix race condition when sharing tuple descriptors. 2021-05-29 15:12:34 +12:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Use sort_template.h for qsort_tuple() and qsort_ssup(). 2021-03-03 17:02:32 +13:00
nls.mk Translation updates 2021-05-10 14:36:21 +02:00