]> granicus.if.org Git - postgresql/commit
Fix bug in parallel tidbitmap iteration.
authorRobert Haas <rhaas@postgresql.org>
Thu, 9 Mar 2017 17:13:48 +0000 (12:13 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 9 Mar 2017 17:13:48 +0000 (12:13 -0500)
commit6a468c343b31aabead7d3a5e11079bfcddbfd667
tree66cc853132bf226752ed91850859ce53e6e53b5f
parent0ee92e1c9b570f90d043e5b033a19b67497ea1f6
Fix bug in parallel tidbitmap iteration.

Avoid computing idxpages[istate->spageptr] until after checking
that istate->spageptr is a legal index.

Dilip Kumar, per a report from David Rowley

Discussion: http://postgr.es/m/CAKJS1f8OtrHE+-P+=E=4ycnL29e9idZKuaTQ6o2MbhvGN9D8ig@mail.gmail.com
src/backend/nodes/tidbitmap.c