pgsql: Document lock obtained during partition detach - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Document lock obtained during partition detach
Date
Msg-id E1lPVhI-0001Cl-8l@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Document lock obtained during partition detach

On partition detach, we acquire a SHARE lock on all tables that
reference the partitioned table that we're detaching a partition from,
but failed to document this fact.  My oversight in commit f56f8f8da6af.
Repair.  Backpatch to 12.

Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/20210325180244.GA12738@alvherre.pgsql

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/366aa374b315667fe44480ec8934cb1034ba0930

Modified Files
--------------
doc/src/sgml/ref/alter_table.sgml | 2 ++
1 file changed, 2 insertions(+)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Add comments for AlteredTableInfo->rel
Next
From: Alvaro Herrera
Date:
Subject: pgsql: ALTER TABLE ... DETACH PARTITION ... CONCURRENTLY