pgsql: Properly acquire buffer lock for page-at-a-time hash vacuum.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Properly acquire buffer lock for page-at-a-time hash vacuum.
Date: 2017-04-04 02:28:31
Message-ID: E1cvECt-00012l-Ud@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/93cd7684ee2bba227fa371daa81b88f25456dcb2

Modified Files
--------------
src/backend/access/hash/hash.c | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-04-04 03:04:15 pgsql: Abstract logic to allow for multiple kinds of child rels.
Previous Message Andrew Gierth 2017-04-03 22:35:17 pgsql: Try and silence spurious Coverity warning.