aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/tsquery_cleanup.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-12-19 12:31:50 -0500
committerRobert Haas <rhaas@postgresql.org>2016-12-19 12:31:50 -0500
commitdd728826c538f000220af98de025c00114ad0631 (patch)
treeffcd6a1c51b91d641195ce2cadb0baaf0c6ff8c9 /src/backend/utils/adt/tsquery_cleanup.c
parent668dbbec27da05b35a6972e9d833115dce0b6ccc (diff)
downloadpostgresql-dd728826c538f000220af98de025c00114ad0631.tar.gz
postgresql-dd728826c538f000220af98de025c00114ad0631.zip
Fix locking problem in _hash_squeezebucket() / _hash_freeovflpage().
A bucket squeeze operation needs to lock each page of the bucket before releasing the prior page, but the previous coding fumbled the locking when freeing an overflow page during a bucket squeeze operation. Commit 6d46f4783efe457f74816a75173eb23ed8930020 introduced this bug. Amit Kapila, with help from Kuntal Ghosh and Dilip Kumar, after an initial trouble report by Jeff Janes. Reviewed by me. I also fixed a problem with a comment.
Diffstat (limited to 'src/backend/utils/adt/tsquery_cleanup.c')
0 files changed, 0 insertions, 0 deletions