mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
PG-193: Comment based tags to identify different parameters.
This commit is contained in:
6
regression/sql/tags.sql
Normal file
6
regression/sql/tags.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
CREATE EXTENSION pg_stat_monitor;
|
||||
SELECT pg_stat_monitor_reset();
|
||||
SELECT 1 AS num /* { "application", psql_app, "real_ip", 192.168.1.3) */;
|
||||
SELECT query, comments FROM pg_stat_monitor ORDER BY query COLLATE "C";
|
||||
SELECT pg_stat_monitor_reset();
|
||||
DROP EXTENSION pg_stat_monitor;
|
||||
Reference in New Issue
Block a user