summaryrefslogtreecommitdiff
path: root/src/test/modules/unsafe_tests/sql/setconfig.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/modules/unsafe_tests/sql/setconfig.sql')
-rw-r--r--src/test/modules/unsafe_tests/sql/setconfig.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/modules/unsafe_tests/sql/setconfig.sql b/src/test/modules/unsafe_tests/sql/setconfig.sql
index d9e1fc908a1..4349490f941 100644
--- a/src/test/modules/unsafe_tests/sql/setconfig.sql
+++ b/src/test/modules/unsafe_tests/sql/setconfig.sql
@@ -51,12 +51,16 @@ DO $$BEGIN EXECUTE format(
-- Test some error cases
+-- We have to use terse mode so that the database name doesn't
+-- appear in the error output.
+\set VERBOSITY terse
DO $$BEGIN EXECUTE format(
'ALTER DATABASE %I SET bogus = 0', current_catalog); END$$;
DO $$BEGIN EXECUTE format(
'ALTER DATABASE %I RESET bogus', current_catalog); END$$;
ALTER USER regress_authenticated_user_db_ssa RESET bogus;
+\set VERBOSITY default
-- Test connection string options