Create turn_mx_off_1.out

talha_tes1
Ahmet Gedemenli 2021-10-27 19:08:35 +03:00
parent b9745d1c70
commit 406dfe538d
3 changed files with 25 additions and 10 deletions

View File

@ -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)

View File

@ -2,7 +2,7 @@ select logicalrelid, autoconverted from pg_dist_partition
where logicalrelid IN ('citus_local_autoconverted'::regclass,
'citus_local_not_autoconverted'::regclass);
logicalrelid | autoconverted
-------------------------------+---------------
---------------------------------------------------------------------
citus_local_autoconverted | t
citus_local_not_autoconverted | f
(2 rows)

View File

@ -3,13 +3,13 @@ CREATE TABLE citus_local_autoconverted(a int unique references ref_not_autoconve
CREATE TABLE citus_local_not_autoconverted(a int unique);
select create_reference_table('ref_not_autoconverted');
create_reference_table
------------------------
---------------------------------------------------------------------
(1 row)
select citus_add_local_table_to_metadata('citus_local_not_autoconverted');
citus_add_local_table_to_metadata
-----------------------------------
---------------------------------------------------------------------
(1 row)
@ -17,7 +17,7 @@ select logicalrelid, autoconverted from pg_dist_partition
where logicalrelid IN ('citus_local_autoconverted'::regclass,
'citus_local_not_autoconverted'::regclass);
logicalrelid | autoconverted
-------------------------------+---------------
---------------------------------------------------------------------
citus_local_autoconverted | t
citus_local_not_autoconverted | f
(2 rows)