Document further existing locks as wait events
authorAlvaro Herrera
Fri, 22 Sep 2017 11:35:54 +0000 (13:35 +0200)
committerAlvaro Herrera
Fri, 22 Sep 2017 11:37:28 +0000 (13:37 +0200)
Reported-by: Jeremy Schneider
Author: Michael Paquier
Discussion: https://postgr.es/m/CA+fnDAZaPCwfY8Lp-pfLnUGFAXRu1VfLyRgdup-L-kwcBj8MqQ@mail.gmail.com

doc/src/sgml/monitoring.sgml

index 8a3cf5d4c361bc2691e27f4f8f5213999cb1562a..18fb9c2aa682bb7845c54485097b139c421c237f 100644 (file)
@@ -845,7 +845,7 @@ postgres   27093  0.0  0.0  30096  2752 ?        Ss   11:34   0:00 postgres: ser
 
       
        
-        0">LWLock
+        2">LWLock
         ShmemIndexLock
         Waiting to find or allocate space in shared memory.
        
@@ -1030,6 +1030,14 @@ postgres   27093  0.0  0.0  30096  2752 ?        Ss   11:34   0:00 postgres: ser
          OldSnapshotTimeMapLock
          Waiting to read or update old snapshot control information.
         
+        
+         BackendRandomLock
+         Waiting to generate a random number.
+        
+        
+         LogicalRepWorkerLock
+         Waiting for action on logical replication worker to finish.
+        
         
          CLogTruncationLock
          Waiting to truncate the write-ahead log or waiting for write-ahead log truncation to finish.