]> granicus.if.org Git - postgresql/commit
Fix parallel index scan hang with deleted or half-dead pages.
authorRobert Haas <rhaas@postgresql.org>
Wed, 13 Dec 2017 21:09:00 +0000 (16:09 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 13 Dec 2017 21:15:44 +0000 (16:15 -0500)
commit884a60840cd684dd7925e7a4f9bf10288c37694d
tree150f5a00af7478f53d71d7973370bb51e2a50aa0
parent1d6fb35ad62968c8678d0321887e2b9ca8fe1a84
Fix parallel index scan hang with deleted or half-dead pages.

The previous coding forgot to release the scan before seizing
it again, leading to a lockup.

Report by Patrick Hemmer.  Diagnosis by Thomas Munro.  Patch by
Amit Kapila.

Discussion: http://postgr.es/m/CAEepm=2xZUcOGP9V0O_G0=2P2wwXwPrkF=upWTCJSisUxMnuSg@mail.gmail.com
src/backend/access/nbtree/nbtsearch.c