Fix psql-dependent colocation tests

pull/1439/head
Jason Petersen 2017-05-31 15:00:10 -06:00
parent 4ed2f653cd
commit b655ddfb55
No known key found for this signature in database
GPG Key ID: 9F1D3510D110ABA9
2 changed files with 6 additions and 6 deletions

View File

@ -617,18 +617,18 @@ ERROR: cannot colocate tables table1_groupe and table_bigint
DETAIL: Distribution column types don't match for table1_groupe and table_bigint. DETAIL: Distribution column types don't match for table1_groupe and table_bigint.
-- check worker table schemas -- check worker table schemas
\c - - - :worker_1_port \c - - - :worker_1_port
\d table3_groupE_1300050 SELECT "Column", "Type", "Modifiers" FROM table_desc WHERE relid='public.table3_groupE_1300050'::regclass;
Table "public.table3_groupe_1300050"
Column | Type | Modifiers Column | Type | Modifiers
--------------+---------+----------- --------------+---------+-----------
dummy_column | text | dummy_column | text |
id | integer | id | integer |
(2 rows)
\d schema_collocation.table4_groupE_1300052 SELECT "Column", "Type", "Modifiers" FROM table_desc WHERE relid='schema_collocation.table4_groupE_1300052'::regclass;
Table "schema_collocation.table4_groupe_1300052"
Column | Type | Modifiers Column | Type | Modifiers
--------+---------+----------- --------+---------+-----------
id | integer | id | integer |
(1 row)
\c - - - :master_port \c - - - :master_port
CREATE TABLE table1_groupF ( id int ); CREATE TABLE table1_groupF ( id int );

View File

@ -293,8 +293,8 @@ SELECT create_distributed_table('table_bigint', 'id', colocate_with => 'table1_g
-- check worker table schemas -- check worker table schemas
\c - - - :worker_1_port \c - - - :worker_1_port
\d table3_groupE_1300050 SELECT "Column", "Type", "Modifiers" FROM table_desc WHERE relid='public.table3_groupE_1300050'::regclass;
\d schema_collocation.table4_groupE_1300052 SELECT "Column", "Type", "Modifiers" FROM table_desc WHERE relid='schema_collocation.table4_groupE_1300052'::regclass;
\c - - - :master_port \c - - - :master_port