]> granicus.if.org Git - postgresql/commit
Fix possible crash with Parallel Bitmap Heap Scan.
authorRobert Haas <rhaas@postgresql.org>
Fri, 13 Oct 2017 18:53:28 +0000 (14:53 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 13 Oct 2017 19:02:45 +0000 (15:02 -0400)
commit6393613b6a1e0feae3d22af608397b252cee5b58
tree9c084ede26c01f0bc8fb7c39e4001c05248e50b8
parent73937119bfd07a140da4817f5ca949351942ffdc
Fix possible crash with Parallel Bitmap Heap Scan.

If a Parallel Bitmap Heap scan's chain of leftmost descendents
includes a BitmapOr whose first child is a BitmapAnd, the prior coding
would mistakenly create a non-shared TIDBitmap and then try to perform
shared iteration.

Report by Tomas Vondra.  Patch by Dilip Kumar.

Discussion: http://postgr.es/m/50e89684-8ad9-dead-8767-c9545bafd3b6@2ndquadrant.com
src/backend/optimizer/plan/createplan.c