diff --git a/doc/src/sgml/ref/lock.sgml b/doc/src/sgml/ref/lock.sgml
index 6ff7b71810..175d6e0b25 100644
--- a/doc/src/sgml/ref/lock.sgml
+++ b/doc/src/sgml/ref/lock.sgml
@@ -1,5 +1,5 @@
@@ -33,67 +33,6 @@ LOCK [ TABLE ] name IN SHARE ROW EX
1999-06-09
-
- Terms
-
-
-
-
- EXCLUSIVE
-
-
- Exclusive lock that prevents other locks from being granted.
-
-
-
-
-
-
-
- SHARE
-
-
- Allows others to share lock. Prevents EXCLUSIVE locks.
-
-
-
-
-
-
-
- ACCESS
-
-
- Locks table schema.
-
-
-
-
-
-
-
- ROW
-
-
- Locks individual rows.
-
-
-
-
-
-
-
- Notes
-
-
- If EXCLUSIVE or SHARE are not specified, EXCLUSIVE is assumed.
- Locks exist for the duration of the transaction.
-
-
-
-
-
-
Inputs
@@ -285,6 +224,68 @@ ERROR name: Table does not exist.
Description
+
+ Terms
+
+
+
+
+ EXCLUSIVE
+
+
+ Exclusive lock that prevents other locks from being granted.
+
+
+
+
+
+
+
+ SHARE
+
+
+ Allows others to share lock. Prevents EXCLUSIVE locks.
+
+
+
+
+
+
+
+ ACCESS
+
+
+ Locks table schema.
+
+
+
+
+
+
+
+ ROW
+
+
+ Locks individual rows.
+
+
+
+
+
+
+
+ Notes
+
+
+ If EXCLUSIVE or SHARE are not specified, EXCLUSIVE is assumed.
+ Locks exist for the duration of the transaction.
+
+
+
+
+
+
+
Postgres always uses the least restrictive
lock mode whenever possible. LOCK TABLE