mirror of https://github.com/citusdata/citus.git
parent
489aa73257
commit
51137184d9
|
@ -661,8 +661,8 @@ SELECT * FROM pg_dist_shard_placement ORDER BY shardid, nodename, nodeport;
|
|||
-- Check that CREATE INDEX statement is propagated
|
||||
\c - - - :master_port
|
||||
SET citus.multi_shard_commit_protocol TO '2pc';
|
||||
SET client_min_messages TO 'ERROR';
|
||||
CREATE INDEX mx_index_3 ON mx_test_schema_2.mx_table_2 USING hash (col1);
|
||||
WARNING: hash indexes are not WAL-logged and their use is discouraged
|
||||
CREATE UNIQUE INDEX mx_index_4 ON mx_test_schema_2.mx_table_2(col1);
|
||||
\c - - - :worker_1_port
|
||||
\d mx_test_schema_2.mx_table_2
|
||||
|
|
|
@ -258,6 +258,7 @@ SELECT * FROM pg_dist_shard_placement ORDER BY shardid, nodename, nodeport;
|
|||
-- Check that CREATE INDEX statement is propagated
|
||||
\c - - - :master_port
|
||||
SET citus.multi_shard_commit_protocol TO '2pc';
|
||||
SET client_min_messages TO 'ERROR';
|
||||
CREATE INDEX mx_index_3 ON mx_test_schema_2.mx_table_2 USING hash (col1);
|
||||
CREATE UNIQUE INDEX mx_index_4 ON mx_test_schema_2.mx_table_2(col1);
|
||||
\c - - - :worker_1_port
|
||||
|
|
Loading…
Reference in New Issue