ALTER POLICY etc locks - Mailing list pgsql-docs

From PG Doc comments form
Subject ALTER POLICY etc locks
Date
Msg-id 169519906452.3727334.8116461996527468040@wrigleys.postgresql.org
Whole thread Raw
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/sql-alterpolicy.html
Description:

Hi folks, just wanted to drop a documentation suggestion: we document that
e.g. ALTER TABLE acquires an ACCESS EXCLUSIVE lock most of the time, but
there's currently no documentation that shows that ALTER POLICY does the
same. This seems to apply to the other POLICY commands too. It makes sense
as a behaviour, but could probably use writing down for clarity!

Source reference:
https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/commands/policy.c;hb=HEAD#l363

Cheers,

Curtis

pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: Typo/wording on https://www.postgresql.org/docs/current/catalog-pg-class.html
Next
From: Daniel Gustafsson
Date:
Subject: Re: Typo/wording on https://www.postgresql.org/docs/current/catalog-pg-class.html