Merge pull request #3689 from citusdata/fix-upgrade-type-after-ordering

upgrade_type_after: ORDER BY
pull/3694/head
Philip Dubé 2020-04-01 04:58:28 +00:00 committed by GitHub
commit 4fa06388e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ BEGIN;
SET LOCAL citus.multi_shard_modify_mode TO 'sequential';
-- test distributed type
INSERT INTO tt VALUES (1, (2,3)::type1);
SELECT * FROM tt;
SELECT * FROM tt ORDER BY 1,2;
a | b
---------------------------------------------------------------------
1 | (2,3)

View File

@ -4,7 +4,7 @@ SET LOCAL citus.multi_shard_modify_mode TO 'sequential';
-- test distributed type
INSERT INTO tt VALUES (1, (2,3)::type1);
SELECT * FROM tt;
SELECT * FROM tt ORDER BY 1, 2;
ALTER TYPE type1 RENAME TO type1_newname;
INSERT INTO tt VALUES (3, (4,5)::type1_newname);