mirror of https://github.com/citusdata/citus.git
dnm3
parent
8fcbc54d7e
commit
981d7201a8
|
|
@ -10,6 +10,9 @@ SET citus.shard_replication_factor TO 1;
|
||||||
CREATE SCHEMA sequence_default;
|
CREATE SCHEMA sequence_default;
|
||||||
SET search_path = sequence_default, public;
|
SET search_path = sequence_default, public;
|
||||||
|
|
||||||
|
BEGIN;
|
||||||
|
SELECT stop_metadata_sync_to_node('localhost', :worker_1_port);
|
||||||
|
SELECT stop_metadata_sync_to_node('localhost', :worker_2_port);
|
||||||
|
|
||||||
-- test both distributed and citus local tables
|
-- test both distributed and citus local tables
|
||||||
SELECT 1 FROM citus_add_node('localhost', :master_port, groupId => 0);
|
SELECT 1 FROM citus_add_node('localhost', :master_port, groupId => 0);
|
||||||
|
|
@ -51,9 +54,6 @@ SELECT * FROM seq_test_0_local_table ORDER BY 1, 2 LIMIT 5;
|
||||||
ALTER SEQUENCE seq_0 AS bigint;
|
ALTER SEQUENCE seq_0 AS bigint;
|
||||||
ALTER SEQUENCE seq_0_local_table AS bigint;
|
ALTER SEQUENCE seq_0_local_table AS bigint;
|
||||||
|
|
||||||
BEGIN;
|
|
||||||
SELECT stop_metadata_sync_to_node('localhost', :worker_1_port);
|
|
||||||
SELECT stop_metadata_sync_to_node('localhost', :worker_2_port);
|
|
||||||
ALTER SEQUENCE seq_0 INCREMENT BY 2;
|
ALTER SEQUENCE seq_0 INCREMENT BY 2;
|
||||||
ALTER SEQUENCE seq_0_local_table INCREMENT BY 2;
|
ALTER SEQUENCE seq_0_local_table INCREMENT BY 2;
|
||||||
\d seq_0
|
\d seq_0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue