]> granicus.if.org Git - postgresql/commit
Properly acquire buffer lock for page-at-a-time hash vacuum.
authorRobert Haas <rhaas@postgresql.org>
Tue, 4 Apr 2017 02:24:17 +0000 (22:24 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 4 Apr 2017 02:26:06 +0000 (22:26 -0400)
commit93cd7684ee2bba227fa371daa81b88f25456dcb2
tree269f3d373f1708887a8aa6866c18720e43292e56
parentf5780935266bd72951c770396f9267366414d1b9
Properly acquire buffer lock for page-at-a-time hash vacuum.

In a couple of places, _hash_kill_items was mistakenly called with
the buffer lock not held.  Repair.

Ashutosh Sharma, per a report from Andreas Seltenreich

Discussion: http://postgr.es/m/87o9wo8o0j.fsf@credativ.de
src/backend/access/hash/hash.c