diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml index f86de7a4ac776584507c1ec72eb08ce73a3eac8e..44bbfe790e68d68b999276c02a89672153d6dee9 100644 --- a/doc/src/sgml/ref/alter_table.sgml +++ b/doc/src/sgml/ref/alter_table.sgml @@ -901,6 +901,13 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM the scan of the new partition, it is always skipped when the default partition is a foreign table. </para> + + <para> + Attaching a partition acquires a + <literal>SHARE UPDATE EXCLUSIVE</literal> lock on the parent table, + in addition to <literal>ACCESS EXCLUSIVE</literal> locks on the table + to be attached and on the default partition (if any). + </para> </listitem> </varlistentry>