Document further existing locks as wait events
authorAlvaro Herrera <[email protected]>
Fri, 22 Sep 2017 11:35:54 +0000 (13:35 +0200)
committerAlvaro Herrera <[email protected]>
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
 
       <tbody>
        <row>
-        <entry morerows="60"><literal>LWLock</></entry>
+        <entry morerows="62"><literal>LWLock</></entry>
         <entry><literal>ShmemIndexLock</></entry>
         <entry>Waiting to find or allocate space in shared memory.</entry>
        </row>
@@ -1030,6 +1030,14 @@ postgres   27093  0.0  0.0  30096  2752 ?        Ss   11:34   0:00 postgres: ser
          <entry><literal>OldSnapshotTimeMapLock</></entry>
          <entry>Waiting to read or update old snapshot control information.</entry>
         </row>
+        <row>
+         <entry><literal>BackendRandomLock</></entry>
+         <entry>Waiting to generate a random number.</entry>
+        </row>
+        <row>
+         <entry><literal>LogicalRepWorkerLock</></entry>
+         <entry>Waiting for action on logical replication worker to finish.</entry>
+        </row>
         <row>
          <entry><literal>CLogTruncationLock</></entry>
          <entry>Waiting to truncate the write-ahead log or waiting for write-ahead log truncation to finish.</entry>