Changes schema name to parallelize

grant_database_2pc_onur_1
gurkanindibay 2024-02-20 11:24:19 +03:00
parent e0d63eef77
commit 42970de8f1
2 changed files with 6 additions and 6 deletions

View File

@ -10,8 +10,8 @@ show citus.main_db;
(1 row)
revoke connect,temp,temporary on database test_2pc_db from public;
CREATE SCHEMA grant_on_database_propagation;
SET search_path TO grant_on_database_propagation;
CREATE SCHEMA grant_on_database_propagation_non_maindb;
SET search_path TO grant_on_database_propagation_non_maindb;
-- test grant/revoke CREATE privilege propagation on database
create user "myuser'_test";
\c test_2pc_db - - :master_port
@ -466,5 +466,5 @@ drop database test_db;
grant connect,temp,temporary on database test_2pc_db to public;
drop database test_2pc_db;
set citus.enable_create_database_propagation to off;
DROP SCHEMA grant_on_database_propagation CASCADE;
DROP SCHEMA grant_on_database_propagation_non_maindb CASCADE;
---------------------------------------------------------------------

View File

@ -10,8 +10,8 @@ revoke connect,temp,temporary on database test_2pc_db from public;
CREATE SCHEMA grant_on_database_propagation;
SET search_path TO grant_on_database_propagation;
CREATE SCHEMA grant_on_database_propagation_non_maindb;
SET search_path TO grant_on_database_propagation_non_maindb;
-- test grant/revoke CREATE privilege propagation on database
@ -246,6 +246,6 @@ drop database test_db;
grant connect,temp,temporary on database test_2pc_db to public;
drop database test_2pc_db;
set citus.enable_create_database_propagation to off;
DROP SCHEMA grant_on_database_propagation CASCADE;
DROP SCHEMA grant_on_database_propagation_non_maindb CASCADE;
---------------------------------------------------------------------------