From 4149a204e102df80867a321118e6ae1c7bfec0ad Mon Sep 17 00:00:00 2001 From: Sait Talha Nisanci Date: Wed, 20 Jan 2021 12:19:47 +0300 Subject: [PATCH] wip --- src/test/regress/sql/multi_colocation_utils.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/regress/sql/multi_colocation_utils.sql b/src/test/regress/sql/multi_colocation_utils.sql index 2a8f55a85..5eeeb4883 100644 --- a/src/test/regress/sql/multi_colocation_utils.sql +++ b/src/test/regress/sql/multi_colocation_utils.sql @@ -447,6 +447,7 @@ CREATE TABLE none(a int, b int); CREATE TABLE ref(a int); CREATE TABLE local_table(a int); +SELECT * FROM pg_dist_colocation; SELECT create_distributed_table('d1', 'a'); SELECT create_distributed_table('d2', 'a', colocate_with => 'd1'); SELECT create_distributed_table('d3', 'a', colocate_with => 'd2'); @@ -459,7 +460,7 @@ SELECT create_distributed_table('range_table', 'a', 'range'); SELECT create_reference_table('ref'); - +SELECT * FROM pg_dist_colocation; -- check d1, d2, d3 and d4 has the same colocation id => they are colocated. SELECT get_table_colocation_id('d1'); SELECT get_table_colocation_id('d2');