diff --git a/src/test/regress/expected/pg_dist_database_size.out b/src/test/regress/expected/pg_dist_database_size.out index f2581c953..074cff6af 100644 --- a/src/test/regress/expected/pg_dist_database_size.out +++ b/src/test/regress/expected/pg_dist_database_size.out @@ -128,6 +128,15 @@ DETAIL: on server postgres@localhost:xxxxx connectionId: xxxxxxx RESET client_min_messages; reset citus.log_remote_commands; drop function round_to_nearest_ten(BIGINT); +SELECT result FROM run_command_on_all_nodes('delete from pg_dist_database where databaseid in (select oid from pg_database where datname in (''test_group0'', ''test_group1'', ''test_group2''))'); + result +--------------------------------------------------------------------- + DELETE 3 + DELETE 3 + DELETE 3 +(3 rows) + +set citus.enable_create_database_propagation to true; drop DATABASE test_group0; drop DATABASE test_group1; drop DATABASE test_group2; diff --git a/src/test/regress/sql/pg_dist_database_size.sql b/src/test/regress/sql/pg_dist_database_size.sql index 4841df516..46fbe1184 100644 --- a/src/test/regress/sql/pg_dist_database_size.sql +++ b/src/test/regress/sql/pg_dist_database_size.sql @@ -97,6 +97,10 @@ reset citus.log_remote_commands; drop function round_to_nearest_ten(BIGINT); +SELECT result FROM run_command_on_all_nodes('delete from pg_dist_database where databaseid in (select oid from pg_database where datname in (''test_group0'', ''test_group1'', ''test_group2''))'); + +set citus.enable_create_database_propagation to true; + drop DATABASE test_group0; drop DATABASE test_group1; drop DATABASE test_group2;