mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 05:56:21 +00:00
As part of this PR, also updated regression test cases that are related to following JIRA issues as well. PG-354 pg_stat_monitor: Remove pg_stat_monitor_settings view Now we not using pg_stat_monitor_settings view, due to this change majority of TAP testcase requried output changes. PG-558: Create test case to verify the function names and count in PGSM. Added additional output file for SQL test case. PG-554: Remove redundant expected output files from regression. Removed unnecessary output files in TAP testcases where these were not needed.
39 lines
2.3 KiB
Plaintext
39 lines
2.3 KiB
Plaintext
CREATE EXTENSION pg_stat_monitor;
|
|
SELECT pg_stat_monitor_reset();
|
|
pg_stat_monitor_reset
|
|
-----------------------
|
|
|
|
(1 row)
|
|
|
|
SELECT name, setting, unit, context, vartype, source, min_val, max_val, enumvals, boot_val, reset_val, pending_restart FROM pg_settings WHERE name='pg_stat_monitor.pgsm_track';
|
|
name | setting | unit | context | vartype | source | min_val | max_val | enumvals | boot_val | reset_val | pending_restart
|
|
----------------------------+---------+------+---------+---------+--------------------+---------+---------+----------------+----------+-----------+-----------------
|
|
pg_stat_monitor.pgsm_track | none | | user | enum | configuration file | | | {none,top,all} | top | none | f
|
|
(1 row)
|
|
|
|
SELECT pg_stat_monitor_reset();
|
|
pg_stat_monitor_reset
|
|
-----------------------
|
|
|
|
(1 row)
|
|
|
|
SELECT name, setting, unit, context, vartype, source, min_val, max_val, enumvals, boot_val, reset_val, pending_restart FROM pg_settings WHERE name='pg_stat_monitor.pgsm_track';
|
|
name | setting | unit | context | vartype | source | min_val | max_val | enumvals | boot_val | reset_val | pending_restart
|
|
----------------------------+---------+------+---------+---------+--------------------+---------+---------+----------------+----------+-----------+-----------------
|
|
pg_stat_monitor.pgsm_track | all | | user | enum | configuration file | | | {none,top,all} | top | all | f
|
|
(1 row)
|
|
|
|
SELECT pg_stat_monitor_reset();
|
|
pg_stat_monitor_reset
|
|
-----------------------
|
|
|
|
(1 row)
|
|
|
|
SELECT name, setting, unit, context, vartype, source, min_val, max_val, enumvals, boot_val, reset_val, pending_restart FROM pg_settings WHERE name='pg_stat_monitor.pgsm_track';
|
|
name | setting | unit | context | vartype | source | min_val | max_val | enumvals | boot_val | reset_val | pending_restart
|
|
----------------------------+---------+------+---------+---------+--------------------+---------+---------+----------------+----------+-----------+-----------------
|
|
pg_stat_monitor.pgsm_track | top | | user | enum | configuration file | | | {none,top,all} | top | top | f
|
|
(1 row)
|
|
|
|
DROP EXTENSION pg_stat_monitor;
|