doc: mention the pg_locks lock names in parentheses
authorBruce Momjian
Thu, 14 Jul 2022 16:08:54 +0000 (12:08 -0400)
committerBruce Momjian
Thu, 14 Jul 2022 16:08:54 +0000 (12:08 -0400)
Reported-by: Troy Frericks
Discussion: https://postgr.es/m/165653551130.665.8240515669521441325@wrigleys.postgresql.org

Backpatch-through: 10

doc/src/sgml/mvcc.sgml

index 3d3cbb339ce4149a3e200b0e8e64129b5c9beaf1..d357799e53b2b4e34814d7fc2896aea616023152 100644 (file)
@@ -875,7 +875,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
       Table-Level Lock Modes
       
        
-        ACCESS SHARE
+        ACCESS SHARE (AccessShareLock)
        
        
         
@@ -893,7 +893,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        ROW SHARE
+        ROW SHARE (RowShareLock)
        
        
         
@@ -914,7 +914,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        ROW EXCLUSIVE
+        ROW EXCLUSIVE (RowExclusiveLock)
        
        
         
@@ -936,7 +936,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        SHARE UPDATE EXCLUSIVE
+        SHARE UPDATE EXCLUSIVE (ShareUpdateExclusiveLock)
        
        
         
@@ -962,7 +962,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        SHARE
+        SHARE (ShareLock)
        
        
         
@@ -982,7 +982,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        SHARE ROW EXCLUSIVE
+        SHARE ROW EXCLUSIVE (ShareRowExclusiveLock)
        
        
         
@@ -1004,7 +1004,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        EXCLUSIVE
+        EXCLUSIVE (ExclusiveLock)
        
        
         
@@ -1026,7 +1026,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        ACCESS EXCLUSIVE
+        ACCESS EXCLUSIVE (AccessExclusiveLock)