pgsql: Correct _bt_delitems_vacuum() lock comments.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Correct _bt_delitems_vacuum() lock comments.
Date: 2020-01-02 21:31:35
Message-ID: E1in847-0005Y9-AJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Correct _bt_delitems_vacuum() lock comments.

The expectation within _bt_delitems_vacuum() is that caller has a
super-exclusive/cleanup buffer lock (not just a pin and a write lock).

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/44e44bd258a71162444d41a1044c795f2c6dd3d1

Modified Files
--------------
src/backend/access/nbtree/nbtpage.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Julien Rouhaud 2020-01-02 22:35:24 Re: pgsql: Make parser rely more heavily on the ParseNamespaceItem data str
Previous Message Alvaro Herrera 2020-01-02 20:11:08 pgsql: Fix cloning of row triggers to sub-partitions