Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
doc: Adding a partition does not require Access Exclusive lock
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 20 May 2020 18:35:39 +0000 (14:35 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 20 May 2020 18:41:00 +0000 (14:41 -0400)
This doc update was missed in 898e5e3290a7.  Backpatch to 12.

Pointed out by Pavel Luzanov
Discussion: https://postgr.es/m/642e9fbc-b832-698b-9a8f-d626afd7014d@postgrespro.ru

doc/src/sgml/ddl.sgml

index d4c5ce8d8a7fb188008819759dc38282b4c5afd0..991323d3471035de6250fbb95054de8bb9dbedc1 100644 (file)
@@ -4121,8 +4121,8 @@ ALTER INDEX measurement_city_id_logdate_key
       <listitem>
        <para>
         Some operations require a stronger lock when using declarative
-        partitioning than when using table inheritance.  For example, adding
-        or removing a partition to or from a partitioned table requires taking
+        partitioning than when using table inheritance.  For example,
+        removing a partition from a partitioned table requires taking
         an <literal>ACCESS EXCLUSIVE</literal> lock on the parent table,
         whereas a <literal>SHARE UPDATE EXCLUSIVE</literal> lock is enough
         in the case of regular inheritance.