Document further existing locks as wait events
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 22 Sep 2017 11:35:54 +0000 (13:35 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 22 Sep 2017 11:35:54 +0000 (13:35 +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 5575c2c8376d79498d45e331ec63d63e2fabb3b2..141a08a08cfacdf560d63d234fdf7d410022ceab 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>