From faf43b4b95726734fe5eeb8d0b4ae41265b21ab7 Mon Sep 17 00:00:00 2001 From: Artem Gavrilov Date: Thu, 9 May 2024 18:04:23 +0200 Subject: [PATCH] Update expected test results --- expected/basic.out | 2 +- expected/debug_json.out | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/expected/basic.out b/expected/basic.out index c5d128b..b486e2c 100644 --- a/expected/basic.out +++ b/expected/basic.out @@ -13,7 +13,7 @@ SELECT name FROM pg_settings WHERE name LIKE 'percona_telemetry.%'; name ---------------------------------------- +------------------------------------- percona_telemetry.enabled percona_telemetry.files_to_keep percona_telemetry.path diff --git a/expected/debug_json.out b/expected/debug_json.out index c9d77e7..6e0a027 100644 --- a/expected/debug_json.out +++ b/expected/debug_json.out @@ -63,7 +63,7 @@ HAVING COUNT(*) = ( ) AS INTEGER ) - + CAST(NOT EXISTS (SELECT * FROM pg_settings where name like '%path') AS INTEGER) + + CAST(NOT EXISTS (SELECT * FROM pg_settings where name = 'percona_telemetry.path') AS INTEGER) ); databases_count ----------------- @@ -76,7 +76,7 @@ FROM pg_database WHERE datallowconn = true HAVING COUNT(*) = ( SELECT json_array_length(read_json_file()::JSON->'databases') - + CAST(NOT EXISTS (SELECT * FROM pg_settings where name like '%path') AS INTEGER) + + CAST(NOT EXISTS (SELECT * FROM pg_settings where name = 'percona_telemetry.path') AS INTEGER) ); databases_count_calc ----------------------