Skip to content

Commit a5d67a0

Browse files
committed
Make tests pass with or without locale.
1 parent 43a57cf commit a5d67a0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/test/regress/expected/foreign_data.out

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -667,25 +667,25 @@ SELECT * FROM information_schema.foreign_server_options ORDER BY 1, 2, 3;
667667
regression | s8 | dbname | db1
668668
(6 rows)
669669

670-
SELECT * FROM information_schema.user_mappings ORDER BY 1, 2, 3;
670+
SELECT * FROM information_schema.user_mappings ORDER BY lower(authorization_identifier), 2, 3;
671671
authorization_identifier | foreign_server_catalog | foreign_server_name
672672
--------------------------+------------------------+---------------------
673+
foreign_data_user | regression | s4
674+
foreign_data_user | regression | s8
673675
PUBLIC | regression | s4
674676
PUBLIC | regression | s8
675677
PUBLIC | regression | st1
676-
foreign_data_user | regression | s4
677-
foreign_data_user | regression | s8
678678
regress_test_role | regression | s5
679679
regress_test_role | regression | s6
680680
regress_test_role | regression | st1
681681
(8 rows)
682682

683-
SELECT * FROM information_schema.user_mapping_options ORDER BY 1, 2, 3, 4;
683+
SELECT * FROM information_schema.user_mapping_options ORDER BY lower(authorization_identifier), 2, 3, 4;
684684
authorization_identifier | foreign_server_catalog | foreign_server_name | option_name | option_value
685685
--------------------------+------------------------+---------------------+-------------+--------------
686+
foreign_data_user | regression | s8 | password | public
686687
PUBLIC | regression | s4 | mapping | is public
687688
PUBLIC | regression | st1 | modified | 1
688-
foreign_data_user | regression | s8 | password | public
689689
regress_test_role | regression | s5 | modified | 1
690690
regress_test_role | regression | s6 | username | test
691691
regress_test_role | regression | st1 | password | boo

src/test/regress/sql/foreign_data.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ SELECT * FROM information_schema.foreign_data_wrappers ORDER BY 1, 2;
264264
SELECT * FROM information_schema.foreign_data_wrapper_options ORDER BY 1, 2, 3;
265265
SELECT * FROM information_schema.foreign_servers ORDER BY 1, 2;
266266
SELECT * FROM information_schema.foreign_server_options ORDER BY 1, 2, 3;
267-
SELECT * FROM information_schema.user_mappings ORDER BY 1, 2, 3;
268-
SELECT * FROM information_schema.user_mapping_options ORDER BY 1, 2, 3, 4;
267+
SELECT * FROM information_schema.user_mappings ORDER BY lower(authorization_identifier), 2, 3;
268+
SELECT * FROM information_schema.user_mapping_options ORDER BY lower(authorization_identifier), 2, 3, 4;
269269
SELECT * FROM information_schema.usage_privileges WHERE object_type LIKE 'FOREIGN%' ORDER BY 1, 2, 3, 4, 5;
270270
SELECT * FROM information_schema.role_usage_grants WHERE object_type LIKE 'FOREIGN%' ORDER BY 1, 2, 3, 4, 5;
271271
SET ROLE regress_test_role;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy