Document lock level used by ALTER TABLE VALIDATE CONSTRAINT
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 6 May 2021 21:17:57 +0000 (17:17 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 6 May 2021 21:17:57 +0000 (17:17 -0400)
Backpatch all the way back to 9.6.

Author: Simon Riggs <simon.riggs@enterprisedb.com>
Discussion: https://postgr.es/m/CANbhV-EwxvdhHuOLdfG2ciYrHOHXV=mm6=fD5aMhqcH09Li3Tg@mail.gmail.com

doc/src/sgml/ref/alter_table.sgml

index 087f640dc07bbfdbb9d9ca36e0fac22f36af1e09..1431d2649befe038a35963f6efd5cab382554952 100644 (file)
@@ -536,6 +536,9 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
       (See <xref linkend="sql-altertable-notes"/> below for an explanation
       of the usefulness of this command.)
      </para>
+     <para>
+      This command acquires a <literal>SHARE UPDATE EXCLUSIVE</literal> lock.
+     </para>
     </listitem>
    </varlistentry>