mirror of https://github.com/citusdata/citus.git
Create turn_mx_off_1.out
parent
b9745d1c70
commit
406dfe538d
|
@ -0,0 +1,15 @@
|
|||
ALTER SYSTEM SET citus.enable_metadata_sync_by_default TO OFF;
|
||||
SELECT pg_reload_conf();
|
||||
pg_reload_conf
|
||||
---------------------------------------------------------------------
|
||||
t
|
||||
(1 row)
|
||||
|
||||
SET client_min_messages TO ERROR;
|
||||
SELECT stop_metadata_sync_to_node(nodename, nodeport) FROM pg_dist_node WHERE isactive = 't' and noderole = 'primary';
|
||||
stop_metadata_sync_to_node
|
||||
---------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
(3 rows)
|
|
@ -1,8 +1,8 @@
|
|||
select logicalrelid, autoconverted from pg_dist_partition
|
||||
where logicalrelid IN ('citus_local_autoconverted'::regclass,
|
||||
'citus_local_not_autoconverted'::regclass);
|
||||
logicalrelid | autoconverted
|
||||
-------------------------------+---------------
|
||||
logicalrelid | autoconverted
|
||||
---------------------------------------------------------------------
|
||||
citus_local_autoconverted | t
|
||||
citus_local_not_autoconverted | f
|
||||
(2 rows)
|
||||
|
|
|
@ -2,22 +2,22 @@ CREATE TABLE ref_not_autoconverted(a int unique);
|
|||
CREATE TABLE citus_local_autoconverted(a int unique references ref_not_autoconverted(a));
|
||||
CREATE TABLE citus_local_not_autoconverted(a int unique);
|
||||
select create_reference_table('ref_not_autoconverted');
|
||||
create_reference_table
|
||||
------------------------
|
||||
|
||||
create_reference_table
|
||||
---------------------------------------------------------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
select citus_add_local_table_to_metadata('citus_local_not_autoconverted');
|
||||
citus_add_local_table_to_metadata
|
||||
-----------------------------------
|
||||
|
||||
citus_add_local_table_to_metadata
|
||||
---------------------------------------------------------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
select logicalrelid, autoconverted from pg_dist_partition
|
||||
where logicalrelid IN ('citus_local_autoconverted'::regclass,
|
||||
'citus_local_not_autoconverted'::regclass);
|
||||
logicalrelid | autoconverted
|
||||
-------------------------------+---------------
|
||||
logicalrelid | autoconverted
|
||||
---------------------------------------------------------------------
|
||||
citus_local_autoconverted | t
|
||||
citus_local_not_autoconverted | f
|
||||
(2 rows)
|
||||
|
|
Loading…
Reference in New Issue