diff --git a/doc/src/sgml/ref/lock.sgml b/doc/src/sgml/ref/lock.sgml index 7f40177129c..9b33ddc637c 100644 --- a/doc/src/sgml/ref/lock.sgml +++ b/doc/src/sgml/ref/lock.sgml @@ -117,8 +117,13 @@ LOCK [ TABLE ] [ ONLY ] name [ * ] table is locked. If ONLY is not specified, the table and all its descendant tables (if any) are locked. Optionally, * can be specified after the table name to explicitly indicate that - descendant tables are included. When locking a view, all relations appearing - in the view definition are locked, regardless of ONLY. + descendant tables are included. + + + + Locking a view locks only the view object itself, not any referenced + relations. (Note that this behavior is different + in PostgreSQL v11 and later.)