diff --git a/tsl/test/expected/compressed_collation.out b/tsl/test/expected/compressed_collation.out index 9a720aa04..3cab76b0c 100644 --- a/tsl/test/expected/compressed_collation.out +++ b/tsl/test/expected/compressed_collation.out @@ -5,9 +5,9 @@ -- We have different collation names such as en_US, en-US-x-icu and so on, -- that are available on different platforms. select * from ( - select 3 priority, 'en_US' "COLLATION" - union all (select 2, collname from pg_collation where collname ilike 'en_us%' order by collname limit 1) - union all (select 1, collname from pg_collation where collname ilike 'en_us_utf%8%' order by collname limit 1) + select 3 priority, 'C' "COLLATION" + union all (select 2, collname from pg_collation where collname ilike 'en_us%' order by collencoding, collname limit 1) + union all (select 1, collname from pg_collation where collname ilike 'en_us_utf%8%' order by collencoding, collname limit 1) ) c order by priority limit 1 \gset create table compressed_collation_ht(time timestamp, name text collate :"COLLATION", diff --git a/tsl/test/sql/compressed_collation.sql b/tsl/test/sql/compressed_collation.sql index 02afa7ec3..02985ba18 100644 --- a/tsl/test/sql/compressed_collation.sql +++ b/tsl/test/sql/compressed_collation.sql @@ -7,9 +7,9 @@ -- We have different collation names such as en_US, en-US-x-icu and so on, -- that are available on different platforms. select * from ( - select 3 priority, 'en_US' "COLLATION" - union all (select 2, collname from pg_collation where collname ilike 'en_us%' order by collname limit 1) - union all (select 1, collname from pg_collation where collname ilike 'en_us_utf%8%' order by collname limit 1) + select 3 priority, 'C' "COLLATION" + union all (select 2, collname from pg_collation where collname ilike 'en_us%' order by collencoding, collname limit 1) + union all (select 1, collname from pg_collation where collname ilike 'en_us_utf%8%' order by collencoding, collname limit 1) ) c order by priority limit 1 \gset