Skip to content

Commit befe945

Browse files
committed
doc: Improve example query related to pg_wait_events
Author: Pavel Luzanov Discussion: https://postgr.es/m/4f79be75-7e30-4817-b0da-4a691ea5427f@postgrespro.ru
1 parent 9972c7d commit befe945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/monitoring.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ SELECT a.pid, a.wait_event, w.description
11191119
FROM pg_stat_activity a JOIN
11201120
pg_wait_events w ON (a.wait_event_type = w.type AND
11211121
a.wait_event = w.name)
1122-
WHERE wait_event is NOT NULL and a.state = 'active';
1122+
WHERE a.wait_event is NOT NULL and a.state = 'active';
11231123
-[ RECORD 1 ]------------------------------------------------------&zwsp;------------
11241124
pid | 686674
11251125
wait_event | WALInitSync

0 commit comments

Comments
 (0)