Adds logs to show flag value

pull/7563/head
gurkanindibay 2024-03-25 13:01:17 +03:00
parent f88d66cfa8
commit ac2ca93768
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
// so setting the corresponding shard here is useful // so setting the corresponding shard here is useful
setup setup
{ {
show citus.enable_ddl_propagation;
SET citus.shard_count TO 2; SET citus.shard_count TO 2;
SET citus.shard_replication_factor TO 1; SET citus.shard_replication_factor TO 1;
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 102011; ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 102011;

View File

@ -1,5 +1,6 @@
\c - - - :master_port \c - - - :master_port
show citus.enable_ddl_propagation;
SET citus.shard_replication_factor TO 2; SET citus.shard_replication_factor TO 2;
CREATE TABLE the_replicated_table (a int, b int, z bigserial); CREATE TABLE the_replicated_table (a int, b int, z bigserial);
SELECT create_distributed_table('the_replicated_table', 'a'); SELECT create_distributed_table('the_replicated_table', 'a');