CREATE EXTENSION pg_stat_monitor; SELECT pg_stat_monitor_reset(); pg_stat_monitor_reset ----------------------- (1 row) SELECT 1 AS num; num ----- 1 (1 row) SELECT query, comments FROM pg_stat_monitor ORDER BY query COLLATE "C"; query | comments --------------------------------+---------- SELECT 1 AS num | SELECT pg_stat_monitor_reset() | (2 rows) DROP EXTENSION pg_stat_monitor;