diff --git a/src/test/regress/expected/multi_metadata_sync.out b/src/test/regress/expected/multi_metadata_sync.out index f371e11e74f..ba2d819afbe 100644 --- a/src/test/regress/expected/multi_metadata_sync.out +++ b/src/test/regress/expected/multi_metadata_sync.out @@ -921,7 +921,9 @@ FROM pg_dist_partition WHERE logicalrelid = 'mx_test_schema_1.mx_table_1'::regclass - OR logicalrelid = 'mx_test_schema_2.mx_table_2'::regclass; + OR logicalrelid = 'mx_test_schema_2.mx_table_2'::regclass +ORDER BY + logicalrelid; logicalrelid | repmodel --------------------------------------------------------------------- mx_test_schema_1.mx_table_1 | s @@ -1101,11 +1103,13 @@ FROM pg_dist_partition WHERE logicalrelid = 'mx_colocation_test_1'::regclass - OR logicalrelid = 'mx_colocation_test_2'::regclass; + OR logicalrelid = 'mx_colocation_test_2'::regclass +ORDER BY + logicalrelid; logicalrelid | colocationid --------------------------------------------------------------------- - mx_colocation_test_2 | 10001 mx_colocation_test_1 | 10001 + mx_colocation_test_2 | 10001 (2 rows) \c - - - :worker_1_port @@ -1115,11 +1119,13 @@ FROM pg_dist_partition WHERE logicalrelid = 'mx_colocation_test_1'::regclass - OR logicalrelid = 'mx_colocation_test_2'::regclass; + OR logicalrelid = 'mx_colocation_test_2'::regclass +ORDER BY + logicalrelid; logicalrelid | colocationid --------------------------------------------------------------------- - mx_colocation_test_2 | 10001 mx_colocation_test_1 | 10001 + mx_colocation_test_2 | 10001 (2 rows) \c - - - :master_port diff --git a/src/test/regress/expected/multi_metadata_sync_0.out b/src/test/regress/expected/multi_metadata_sync_0.out index 5d5aa56ddf8..0835add105e 100644 --- a/src/test/regress/expected/multi_metadata_sync_0.out +++ b/src/test/regress/expected/multi_metadata_sync_0.out @@ -921,7 +921,9 @@ FROM pg_dist_partition WHERE logicalrelid = 'mx_test_schema_1.mx_table_1'::regclass - OR logicalrelid = 'mx_test_schema_2.mx_table_2'::regclass; + OR logicalrelid = 'mx_test_schema_2.mx_table_2'::regclass +ORDER BY + logicalrelid; logicalrelid | repmodel --------------------------------------------------------------------- mx_test_schema_1.mx_table_1 | s @@ -1101,11 +1103,13 @@ FROM pg_dist_partition WHERE logicalrelid = 'mx_colocation_test_1'::regclass - OR logicalrelid = 'mx_colocation_test_2'::regclass; + OR logicalrelid = 'mx_colocation_test_2'::regclass +ORDER BY + logicalrelid; logicalrelid | colocationid --------------------------------------------------------------------- - mx_colocation_test_2 | 10001 mx_colocation_test_1 | 10001 + mx_colocation_test_2 | 10001 (2 rows) \c - - - :worker_1_port @@ -1115,11 +1119,13 @@ FROM pg_dist_partition WHERE logicalrelid = 'mx_colocation_test_1'::regclass - OR logicalrelid = 'mx_colocation_test_2'::regclass; + OR logicalrelid = 'mx_colocation_test_2'::regclass +ORDER BY + logicalrelid; logicalrelid | colocationid --------------------------------------------------------------------- - mx_colocation_test_2 | 10001 mx_colocation_test_1 | 10001 + mx_colocation_test_2 | 10001 (2 rows) \c - - - :master_port diff --git a/src/test/regress/sql/multi_metadata_sync.sql b/src/test/regress/sql/multi_metadata_sync.sql index f90270cf643..dfe3c237d7d 100644 --- a/src/test/regress/sql/multi_metadata_sync.sql +++ b/src/test/regress/sql/multi_metadata_sync.sql @@ -278,7 +278,9 @@ FROM pg_dist_partition WHERE logicalrelid = 'mx_test_schema_1.mx_table_1'::regclass - OR logicalrelid = 'mx_test_schema_2.mx_table_2'::regclass; + OR logicalrelid = 'mx_test_schema_2.mx_table_2'::regclass +ORDER BY + logicalrelid; -- Check that shard and placement data are created SELECT @@ -391,7 +393,9 @@ FROM pg_dist_partition WHERE logicalrelid = 'mx_colocation_test_1'::regclass - OR logicalrelid = 'mx_colocation_test_2'::regclass; + OR logicalrelid = 'mx_colocation_test_2'::regclass +ORDER BY + logicalrelid; \c - - - :worker_1_port SELECT logicalrelid, colocationid @@ -399,7 +403,9 @@ FROM pg_dist_partition WHERE logicalrelid = 'mx_colocation_test_1'::regclass - OR logicalrelid = 'mx_colocation_test_2'::regclass; + OR logicalrelid = 'mx_colocation_test_2'::regclass +ORDER BY + logicalrelid; \c - - - :master_port