mirror of https://github.com/citusdata/citus.git
Adds ddl_propagation to multi_test_helpers
parent
2bb01f9e76
commit
816540860b
|
@ -1,4 +1,28 @@
|
|||
-- File to create functions and helpers needed for subsequent tests
|
||||
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
|
||||
SELECT pg_reload_conf();
|
||||
pg_reload_conf
|
||||
---------------------------------------------------------------------
|
||||
t
|
||||
(1 row)
|
||||
|
||||
\c - - - :worker_1_port
|
||||
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
|
||||
SELECT pg_reload_conf();
|
||||
pg_reload_conf
|
||||
---------------------------------------------------------------------
|
||||
t
|
||||
(1 row)
|
||||
|
||||
\c - - - :worker_2_port
|
||||
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
|
||||
SELECT pg_reload_conf();
|
||||
pg_reload_conf
|
||||
---------------------------------------------------------------------
|
||||
t
|
||||
(1 row)
|
||||
|
||||
\c - - - :master_port
|
||||
-- create a helper function to create objects on each node
|
||||
CREATE OR REPLACE FUNCTION run_command_on_master_and_workers(p_sql text)
|
||||
RETURNS void LANGUAGE plpgsql AS $$
|
||||
|
|
|
@ -1,5 +1,17 @@
|
|||
-- File to create functions and helpers needed for subsequent tests
|
||||
|
||||
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
|
||||
SELECT pg_reload_conf();
|
||||
|
||||
\c - - - :worker_1_port
|
||||
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
|
||||
SELECT pg_reload_conf();
|
||||
|
||||
\c - - - :worker_2_port
|
||||
ALTER SYSTEM SET citus.enable_ddl_propagation = 'true';
|
||||
SELECT pg_reload_conf();
|
||||
|
||||
\c - - - :master_port
|
||||
-- create a helper function to create objects on each node
|
||||
CREATE OR REPLACE FUNCTION run_command_on_master_and_workers(p_sql text)
|
||||
RETURNS void LANGUAGE plpgsql AS $$
|
||||
|
|
Loading…
Reference in New Issue