mirror of https://github.com/citusdata/citus.git
Swap aggregate_support tests to simplify enterprise merge
parent
1cfbeb89ec
commit
2329157406
|
@ -166,19 +166,25 @@ select array_collect_sort(val) from aggdata;
|
||||||
create user notsuper;
|
create user notsuper;
|
||||||
NOTICE: not propagating CREATE ROLE/USER commands to worker nodes
|
NOTICE: not propagating CREATE ROLE/USER commands to worker nodes
|
||||||
HINT: Connect to worker nodes directly to manually create all necessary users and roles.
|
HINT: Connect to worker nodes directly to manually create all necessary users and roles.
|
||||||
grant all on schema aggregate_support to notsuper;
|
select run_command_on_workers($$create user notsuper$$);
|
||||||
grant all on all tables in schema aggregate_support to notsuper;
|
|
||||||
select run_command_on_workers($$
|
|
||||||
create user notsuper;
|
|
||||||
grant all on schema aggregate_support to notsuper;
|
|
||||||
grant all on all tables in schema aggregate_support to notsuper;
|
|
||||||
$$);
|
|
||||||
run_command_on_workers
|
run_command_on_workers
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
(localhost,57637,t,"CREATE ROLE")
|
(localhost,57637,t,"CREATE ROLE")
|
||||||
(localhost,57638,t,"CREATE ROLE")
|
(localhost,57638,t,"CREATE ROLE")
|
||||||
(2 rows)
|
(2 rows)
|
||||||
|
|
||||||
|
grant all on schema aggregate_support to notsuper;
|
||||||
|
grant all on all tables in schema aggregate_support to notsuper;
|
||||||
|
select run_command_on_workers($$
|
||||||
|
grant all on schema aggregate_support to notsuper;
|
||||||
|
grant all on all tables in schema aggregate_support to notsuper;
|
||||||
|
$$);
|
||||||
|
run_command_on_workers
|
||||||
|
---------------------------
|
||||||
|
(localhost,57637,t,GRANT)
|
||||||
|
(localhost,57638,t,GRANT)
|
||||||
|
(2 rows)
|
||||||
|
|
||||||
set role notsuper;
|
set role notsuper;
|
||||||
select array_collect_sort(val) from aggdata;
|
select array_collect_sort(val) from aggdata;
|
||||||
array_collect_sort
|
array_collect_sort
|
||||||
|
|
|
@ -127,10 +127,10 @@ select array_collect_sort(val) from aggdata;
|
||||||
|
|
||||||
-- Test multiuser scenario
|
-- Test multiuser scenario
|
||||||
create user notsuper;
|
create user notsuper;
|
||||||
|
select run_command_on_workers($$create user notsuper$$);
|
||||||
grant all on schema aggregate_support to notsuper;
|
grant all on schema aggregate_support to notsuper;
|
||||||
grant all on all tables in schema aggregate_support to notsuper;
|
grant all on all tables in schema aggregate_support to notsuper;
|
||||||
select run_command_on_workers($$
|
select run_command_on_workers($$
|
||||||
create user notsuper;
|
|
||||||
grant all on schema aggregate_support to notsuper;
|
grant all on schema aggregate_support to notsuper;
|
||||||
grant all on all tables in schema aggregate_support to notsuper;
|
grant all on all tables in schema aggregate_support to notsuper;
|
||||||
$$);
|
$$);
|
||||||
|
|
Loading…
Reference in New Issue