Fix bug in hashbulkdelete.
authorRobert Haas <rhaas@postgresql.org>
Tue, 13 Dec 2016 17:16:02 +0000 (12:16 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 13 Dec 2016 17:16:02 +0000 (12:16 -0500)
commit501c7b94bcb00cfa0faad60135cf6af82fd56a3a
tree7bd97152a27721d49c65efc6cc59da427e71c645
parenta25665088d812d08bb888e961f208eaebf522050
Fix bug in hashbulkdelete.

Commit 6d46f4783efe457f74816a75173eb23ed8930020 failed to account for
the possibility that hashbulkdelete() might encounter a bucket that
has been split since it began scanning the bucket array.  Repair.

Extracted from a larger pathc by Amit Kapila; I rewrote the comment.
src/backend/access/hash/hash.c