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_bucket_time';
               name               | setting | unit |  context   | vartype |       source       | min_val |  max_val   | enumvals | boot_val | reset_val | pending_restart 
----------------------------------+---------+------+------------+---------+--------------------+---------+------------+----------+----------+-----------+-----------------
 pg_stat_monitor.pgsm_bucket_time | 10000   | s    | postmaster | integer | configuration file | 1       | 2147483647 |          | 60       | 10000     | 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_bucket_time';
               name               | setting | unit |  context   | vartype |       source       | min_val |  max_val   | enumvals | boot_val | reset_val | pending_restart 
----------------------------------+---------+------+------------+---------+--------------------+---------+------------+----------+----------+-----------+-----------------
 pg_stat_monitor.pgsm_bucket_time | 1000    | s    | postmaster | integer | configuration file | 1       | 2147483647 |          | 60       | 1000      | 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_bucket_time';
               name               | setting | unit |  context   | vartype |       source       | min_val |  max_val   | enumvals | boot_val | reset_val | pending_restart 
----------------------------------+---------+------+------------+---------+--------------------+---------+------------+----------+----------+-----------+-----------------
 pg_stat_monitor.pgsm_bucket_time | 100     | s    | postmaster | integer | configuration file | 1       | 2147483647 |          | 60       | 100       | 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_bucket_time';
               name               | setting | unit |  context   | vartype |       source       | min_val |  max_val   | enumvals | boot_val | reset_val | pending_restart 
----------------------------------+---------+------+------------+---------+--------------------+---------+------------+----------+----------+-----------+-----------------
 pg_stat_monitor.pgsm_bucket_time | 60      | s    | postmaster | integer | configuration file | 1       | 2147483647 |          | 60       | 60        | 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_bucket_time';
               name               | setting | unit |  context   | vartype |       source       | min_val |  max_val   | enumvals | boot_val | reset_val | pending_restart 
----------------------------------+---------+------+------------+---------+--------------------+---------+------------+----------+----------+-----------+-----------------
 pg_stat_monitor.pgsm_bucket_time | 1       | s    | postmaster | integer | configuration file | 1       | 2147483647 |          | 60       | 1         | 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_bucket_time';
               name               | setting | unit |  context   | vartype | source  | min_val |  max_val   | enumvals | boot_val | reset_val | pending_restart 
----------------------------------+---------+------+------------+---------+---------+---------+------------+----------+----------+-----------+-----------------
 pg_stat_monitor.pgsm_bucket_time | 60      | s    | postmaster | integer | default | 1       | 2147483647 |          | 60       | 60        | f
(1 row)

DROP EXTENSION pg_stat_monitor;
