mirror of https://github.com/citusdata/citus.git
Changes schema name to parallelize
parent
e0d63eef77
commit
42970de8f1
|
@ -10,8 +10,8 @@ show citus.main_db;
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
revoke connect,temp,temporary on database test_2pc_db from public;
|
revoke connect,temp,temporary on database test_2pc_db from public;
|
||||||
CREATE SCHEMA grant_on_database_propagation;
|
CREATE SCHEMA grant_on_database_propagation_non_maindb;
|
||||||
SET search_path TO grant_on_database_propagation;
|
SET search_path TO grant_on_database_propagation_non_maindb;
|
||||||
-- test grant/revoke CREATE privilege propagation on database
|
-- test grant/revoke CREATE privilege propagation on database
|
||||||
create user "myuser'_test";
|
create user "myuser'_test";
|
||||||
\c test_2pc_db - - :master_port
|
\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;
|
grant connect,temp,temporary on database test_2pc_db to public;
|
||||||
drop database test_2pc_db;
|
drop database test_2pc_db;
|
||||||
set citus.enable_create_database_propagation to off;
|
set citus.enable_create_database_propagation to off;
|
||||||
DROP SCHEMA grant_on_database_propagation CASCADE;
|
DROP SCHEMA grant_on_database_propagation_non_maindb CASCADE;
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
|
|
|
@ -10,8 +10,8 @@ revoke connect,temp,temporary on database test_2pc_db from public;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CREATE SCHEMA grant_on_database_propagation;
|
CREATE SCHEMA grant_on_database_propagation_non_maindb;
|
||||||
SET search_path TO grant_on_database_propagation;
|
SET search_path TO grant_on_database_propagation_non_maindb;
|
||||||
|
|
||||||
|
|
||||||
-- test grant/revoke CREATE privilege propagation on database
|
-- 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;
|
grant connect,temp,temporary on database test_2pc_db to public;
|
||||||
drop database test_2pc_db;
|
drop database test_2pc_db;
|
||||||
set citus.enable_create_database_propagation to off;
|
set citus.enable_create_database_propagation to off;
|
||||||
DROP SCHEMA grant_on_database_propagation CASCADE;
|
DROP SCHEMA grant_on_database_propagation_non_maindb CASCADE;
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue