doc: mention the pg_locks lock names in parentheses
authorBruce Momjian
Thu, 14 Jul 2022 16:08:55 +0000 (12:08 -0400)
committerBruce Momjian
Thu, 14 Jul 2022 16:08:55 +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 ff148bb3dcd74aa2111f1b5d69dde1d86e21c7bb..14b51db55e3d4a3aa6945213c943b434fc48272d 100644 (file)
@@ -907,7 +907,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
       Table-Level Lock Modes
       
        
-        ACCESS SHARE
+        ACCESS SHARE (AccessShareLock)
        
        
         
@@ -925,7 +925,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        ROW SHARE
+        ROW SHARE (RowShareLock)
        
        
         
@@ -948,7 +948,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        ROW EXCLUSIVE
+        ROW EXCLUSIVE (RowExclusiveLock)
        
        
         
@@ -971,7 +971,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        SHARE UPDATE EXCLUSIVE
+        SHARE UPDATE EXCLUSIVE (ShareUpdateExclusiveLock)
        
        
         
@@ -997,7 +997,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        SHARE
+        SHARE (ShareLock)
        
        
         
@@ -1017,7 +1017,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        SHARE ROW EXCLUSIVE
+        SHARE ROW EXCLUSIVE (ShareRowExclusiveLock)
        
        
         
@@ -1039,7 +1039,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        EXCLUSIVE
+        EXCLUSIVE (ExclusiveLock)
        
        
         
@@ -1061,7 +1061,7 @@ ERROR:  could not serialize access due to read/write dependencies among transact
 
       
        
-        ACCESS EXCLUSIVE
+        ACCESS EXCLUSIVE (AccessExclusiveLock)