From: Alvaro Herrera Date: Thu, 6 May 2021 21:17:56 +0000 (-0400) Subject: Document lock level used by ALTER TABLE VALIDATE CONSTRAINT X-Git-Tag: REL_12_7~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b075e08d869b3f73ad1221098c331ddb01005a89;p=thirdparty%2Fpostgresql.git Document lock level used by ALTER TABLE VALIDATE CONSTRAINT Backpatch all the way back to 9.6. Author: Simon Riggs Discussion: https://postgr.es/m/CANbhV-EwxvdhHuOLdfG2ciYrHOHXV=mm6=fD5aMhqcH09Li3Tg@mail.gmail.com --- diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml index de80a1901b5..ea27df25698 100644 --- a/doc/src/sgml/ref/alter_table.sgml +++ b/doc/src/sgml/ref/alter_table.sgml @@ -485,6 +485,9 @@ WITH ( MODULUS numeric_literal, REM endterm="sql-altertable-notes-title"/> below for an explanation of the usefulness of this command.) + + This command acquires a SHARE UPDATE EXCLUSIVE lock. +