| From: | Robert Haas <rhaas(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Fix bug in hashbulkdelete. |
| Date: | 2016-12-13 17:38:12 |
| Message-ID: | E1cGr1o-0007Ox-DO@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/501c7b94bcb00cfa0faad60135cf6af82fd56a3a
Modified Files
--------------
src/backend/access/hash/hash.c | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2016-12-13 18:20:51 | pgsql: Prevent planagg.c from failing on queries containing CTEs. |
| Previous Message | Robert Haas | 2016-12-13 16:32:28 | pgsql: Fix bugs in RelationGetPartitionDispatchInfo. |