Re: es_query_dsa is broken
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>,
Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2017-12-18T17:34:27Z
Lists: pgsql-hackers
On Sun, Dec 17, 2017 at 7:35 PM, Thomas Munro <thomas.munro@enterprisedb.com> wrote: > Andreas Seltenreich found a query[1] that suffers from this bug > (thanks!), and Amit confirmed that this patch fixes it, but further > sqlsmith fuzz testing with the patch applied also revealed that it > failed to handle the case where pei is NULL because parallelism was > inhibited. Here's a new version to fix that. Someone might prefer a > coding with "if" rather than the ternary operator, but I didn't have a > strong preference. Looks OK to me. Committed and back-patched to v10. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Fix crashes on plans with multiple Gather (Merge) nodes.
- b70ea4c75e5f 10.2 landed
- fd7c0fa732d9 11.0 landed
-
Teach bitmap heap scan to cope with absence of a DSA.
- c6755e233be1 11.0 cited
-
Provide a DSA area for all parallel queries.
- e13029a5ce35 10.0 cited