From 4effa8c1f8fbcc66352fcb99e5be870696de3be9 Mon Sep 17 00:00:00 2001 From: Onder Kalaci Date: Tue, 9 Apr 2019 11:52:08 +0300 Subject: [PATCH] Add order by multi_schema_support --- src/test/regress/expected/multi_schema_support.out | 8 ++++---- src/test/regress/sql/multi_schema_support.sql | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/regress/expected/multi_schema_support.out b/src/test/regress/expected/multi_schema_support.out index d459998e4..8834ede90 100644 --- a/src/test/regress/expected/multi_schema_support.out +++ b/src/test/regress/expected/multi_schema_support.out @@ -514,15 +514,15 @@ SELECT master_create_worker_shards('nation_hash_collation_search_path', 4, 2); (1 row) \copy nation_hash_collation_search_path FROM STDIN with delimiter '|'; -SELECT * FROM nation_hash_collation_search_path; +SELECT * FROM nation_hash_collation_search_path ORDER BY 1 DESC, 2 DESC, 3 DESC, 4 DESC; n_nationkey | n_name | n_regionkey | n_comment -------------+---------------------------+-------------+------------------------------------------------------------------------------------------------------------- - 1 | ARGENTINA | 1 | al foxes promise slyly according to the regular accounts. bold requests alon 5 | ETHIOPIA | 0 | ven packages wake quickly. regu - 0 | ALGERIA | 0 | haggle. carefully final deposits detect slyly agai - 3 | CANADA | 1 | eas hang ironic, silent packages. slyly regular packages are furiously over the tithes. fluffily bold 4 | EGYPT | 4 | y above the carefully unusual theodolites. final dugouts are quickly across the furiously regular d + 3 | CANADA | 1 | eas hang ironic, silent packages. slyly regular packages are furiously over the tithes. fluffily bold 2 | BRAZIL | 1 | y alongside of the pending deposits. carefully special packages are about the ironic forges. slyly special + 1 | ARGENTINA | 1 | al foxes promise slyly according to the regular accounts. bold requests alon + 0 | ALGERIA | 0 | haggle. carefully final deposits detect slyly agai (6 rows) SELECT n_comment FROM nation_hash_collation_search_path ORDER BY n_comment COLLATE english; diff --git a/src/test/regress/sql/multi_schema_support.sql b/src/test/regress/sql/multi_schema_support.sql index 4b2a83bff..d1edebde4 100644 --- a/src/test/regress/sql/multi_schema_support.sql +++ b/src/test/regress/sql/multi_schema_support.sql @@ -373,7 +373,7 @@ SELECT master_create_worker_shards('nation_hash_collation_search_path', 4, 2); 5|ETHIOPIA|0|ven packages wake quickly. regu \. -SELECT * FROM nation_hash_collation_search_path; +SELECT * FROM nation_hash_collation_search_path ORDER BY 1 DESC, 2 DESC, 3 DESC, 4 DESC; SELECT n_comment FROM nation_hash_collation_search_path ORDER BY n_comment COLLATE english; --test composite types with schema