From a5385d9f9cae73dc1eebf6d02f843d379194f1d9 Mon Sep 17 00:00:00 2001 From: gurkanindibay Date: Mon, 18 Mar 2024 11:56:13 +0300 Subject: [PATCH] Fixes test errors --- src/test/regress/expected/pg15.out | 14 +++++++------- src/test/regress/sql/pg15.sql | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/test/regress/expected/pg15.out b/src/test/regress/expected/pg15.out index aa081bcb2..5453b4b84 100644 --- a/src/test/regress/expected/pg15.out +++ b/src/test/regress/expected/pg15.out @@ -1537,19 +1537,19 @@ CREATE ROLE local_role_1; ALTER DATABASE local_database_1 REFRESH COLLATION VERSION; NOTICE: version has not changed SET citus.enable_create_database_propagation TO on; -create database alter_db_from_nonmain_db; -NOTICE: issuing ALTER DATABASE citus_temp_database_2_0 RENAME TO alter_db_from_nonmain_db -NOTICE: issuing ALTER DATABASE citus_temp_database_2_0 RENAME TO alter_db_from_nonmain_db -\c alter_db_from_nonmain_db +create database alter_db_from_nonmain_db_pg15; +NOTICE: issuing ALTER DATABASE citus_temp_database_2_0 RENAME TO alter_db_from_nonmain_db_pg15 +NOTICE: issuing ALTER DATABASE citus_temp_database_2_0 RENAME TO alter_db_from_nonmain_db_pg15 +\c alter_db_from_nonmain_db_pg15 set citus.log_remote_commands = true; set citus.grep_remote_commands = '%ALTER DATABASE%'; -ALTER DATABASE alter_db_from_nonmain_db REFRESH COLLATION VERSION; -NOTICE: issuing SELECT citus_internal.execute_command_on_remote_nodes_as_user('ALTER DATABASE alter_db_from_nonmain_db REFRESH COLLATION VERSION;', 'postgres') +ALTER DATABASE alter_db_from_nonmain_db_pg15 REFRESH COLLATION VERSION; +NOTICE: issuing SELECT citus_internal.execute_command_on_remote_nodes_as_user('ALTER DATABASE alter_db_from_nonmain_db_pg15 REFRESH COLLATION VERSION;', 'postgres') NOTICE: version has not changed reset citus.log_remote_commands; reset citus.grep_remote_commands; \c regression -drop database alter_db_from_nonmain_db; +drop database alter_db_from_nonmain_db_pg15; SET citus.enable_create_database_propagation TO OFF; REVOKE CONNECT, TEMPORARY, CREATE ON DATABASE local_database_1 FROM local_role_1; DROP ROLE local_role_1; diff --git a/src/test/regress/sql/pg15.sql b/src/test/regress/sql/pg15.sql index e8703fb0d..fa841a5dd 100644 --- a/src/test/regress/sql/pg15.sql +++ b/src/test/regress/sql/pg15.sql @@ -978,18 +978,18 @@ CREATE ROLE local_role_1; ALTER DATABASE local_database_1 REFRESH COLLATION VERSION; SET citus.enable_create_database_propagation TO on; -create database alter_db_from_nonmain_db; +create database alter_db_from_nonmain_db_pg15; -\c alter_db_from_nonmain_db +\c alter_db_from_nonmain_db_pg15 set citus.log_remote_commands = true; set citus.grep_remote_commands = '%ALTER DATABASE%'; -ALTER DATABASE alter_db_from_nonmain_db REFRESH COLLATION VERSION; +ALTER DATABASE alter_db_from_nonmain_db_pg15 REFRESH COLLATION VERSION; reset citus.log_remote_commands; reset citus.grep_remote_commands; \c regression -drop database alter_db_from_nonmain_db; +drop database alter_db_from_nonmain_db_pg15; SET citus.enable_create_database_propagation TO OFF;