Skip level tracking regression test for PG version less than 14

This commit is contained in:
Artem Gavrilov
2024-06-08 18:23:02 +02:00
parent 63a0679fee
commit 267591677e
4 changed files with 17 additions and 317 deletions

View File

@@ -1,6 +1,12 @@
--
-- Statement level tracking
--
SELECT setting::integer < 140000 AS skip_test FROM pg_settings where name = 'server_version_num' \gset
\if :skip_test
\quit
\endif
CREATE EXTENSION pg_stat_monitor;
SET pg_stat_monitor.pgsm_track_utility = TRUE;
SET pg_stat_monitor.pgsm_normalized_query = TRUE;