Commit e1218f59 authored by Alvaro Herrera's avatar Alvaro Herrera

doc: Adding a partition does not require Access Exclusive lock

This doc update was missed in 898e5e32.  Backpatch to 12.

Pointed out by Pavel Luzanov
Discussion: https://postgr.es/m/642e9fbc-b832-698b-9a8f-d626afd7014d@postgrespro.ru
parent 39cb2ee0
...@@ -4121,8 +4121,8 @@ ALTER INDEX measurement_city_id_logdate_key ...@@ -4121,8 +4121,8 @@ ALTER INDEX measurement_city_id_logdate_key
<listitem> <listitem>
<para> <para>
Some operations require a stronger lock when using declarative Some operations require a stronger lock when using declarative
partitioning than when using table inheritance. For example, adding partitioning than when using table inheritance. For example,
or removing a partition to or from a partitioned table requires taking removing a partition from a partitioned table requires taking
an <literal>ACCESS EXCLUSIVE</literal> lock on the parent table, an <literal>ACCESS EXCLUSIVE</literal> lock on the parent table,
whereas a <literal>SHARE UPDATE EXCLUSIVE</literal> lock is enough whereas a <literal>SHARE UPDATE EXCLUSIVE</literal> lock is enough
in the case of regular inheritance. in the case of regular inheritance.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment