mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
13 lines
231 B
SQL
13 lines
231 B
SQL
CREATE EXTENSION pg_stat_monitor;
|
|
|
|
DO $$
|
|
DECLARE
|
|
i integer;
|
|
BEGIN
|
|
FOR i IN 10..24 LOOP
|
|
RAISE NOTICE 'error_code: %, error_level: %', i, decode_error_level(i);
|
|
END LOOP;
|
|
END $$;
|
|
|
|
DROP EXTENSION pg_stat_monitor;
|