pgsql: Restore lock level to set vacuum flags

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Restore lock level to set vacuum flags
Date: 2021-11-11 14:04:25
Message-ID: E1mlAgj-0007Lk-Sf@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Restore lock level to set vacuum flags

Commit 27838981be9d mistakenly reduced the lock level from exclusive to
shared that is acquired to set PGPROC->statusFlags; this was reverted
by dcfff74fb166, but failed to do so in one spot. Fix it.

Backpatch to 14.

Noted by Andres Freund.

Discussion: https://postgr.es/m/20211111020724.ggsfhcq3krq5r4hb@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0726c764bc4ec337a0216a546ce41c758d81600d

Modified Files
--------------
src/backend/replication/slot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-11-11 15:37:28 pgsql: Fall back to unsigned int, not int, for socklen_t.
Previous Message Peter Eisentraut 2021-11-11 09:50:50 pgsql: doc: Add referential actions to CREATE/ALTER TABLE synopsis