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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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.




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