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 FROM pg_stat_monitor ORDER BY query COLLATE "C";
             query              
--------------------------------
 SELECT 1 AS num
 SELECT pg_stat_monitor_reset()
(2 rows)

SELECT pg_stat_monitor_reset();
 pg_stat_monitor_reset 
-----------------------
 
(1 row)

DROP EXTENSION pg_stat_monitor;
