From 463ed8834e96f9987ebcd97550052f906ef02345 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 6 May 2021 17:17:56 -0400 Subject: [PATCH] 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 --- doc/src/sgml/ref/alter_table.sgml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml index 9b2e4c5749..ab5e6bf3d4 100644 --- a/doc/src/sgml/ref/alter_table.sgml +++ b/doc/src/sgml/ref/alter_table.sgml @@ -476,6 +476,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. +