mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 22:16:20 +00:00
This requires refactoring of code to add this functionality. Along with that this patch contains regression test cases.
7 lines
226 B
SQL
7 lines
226 B
SQL
CREATE EXTENSION pg_stat_monitor;
|
|
SELECT pg_stat_monitor_reset();
|
|
SELECT 1 AS num;
|
|
SELECT query,application_name FROM pg_stat_monitor ORDER BY query COLLATE "C";
|
|
SELECT pg_stat_monitor_reset();
|
|
DROP EXTENSION pg_stat_monitor;
|