]> git.ipfire.org Git - thirdparty/postgresql.git/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:09:00 +0000 (16:09 -0500)
commit192ffe1cbd4a2beaf6c6975267c97d5affa0f26b
treeb8f52331a2c6769252c5dcf11e1a7ebe60d97ab4
parent7b3f85073c8dd470e01583b20269e7c87898b6f7
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