talha_remove-deprecated-gucs
Sait Talha Nisanci 2021-01-20 12:19:47 +03:00
parent 88ec61c413
commit 4149a204e1
1 changed files with 2 additions and 1 deletions

View File

@ -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');