Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita5d67a0

Browse files
committed
Make tests pass with or without locale.
1 parent43a57cf commita5d67a0

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 BY1, 2, 3;
670+
SELECT * FROM information_schema.user_mappings ORDER BYlower(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 BY1, 2, 3, 4;
683+
SELECT * FROM information_schema.user_mapping_options ORDER BYlower(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*FROMinformation_schema.foreign_data_wrapper_optionsORDER BY1,2,3;
265265
SELECT*FROMinformation_schema.foreign_serversORDER BY1,2;
266266
SELECT*FROMinformation_schema.foreign_server_optionsORDER BY1,2,3;
267-
SELECT*FROMinformation_schema.user_mappingsORDER BY1,2,3;
268-
SELECT*FROMinformation_schema.user_mapping_optionsORDER BY1,2,3,4;
267+
SELECT*FROMinformation_schema.user_mappingsORDER BYlower(authorization_identifier),2,3;
268+
SELECT*FROMinformation_schema.user_mapping_optionsORDER BYlower(authorization_identifier),2,3,4;
269269
SELECT*FROMinformation_schema.usage_privilegesWHERE object_typeLIKE'FOREIGN%'ORDER BY1,2,3,4,5;
270270
SELECT*FROMinformation_schema.role_usage_grantsWHERE object_typeLIKE'FOREIGN%'ORDER BY1,2,3,4,5;
271271
SET ROLE regress_test_role;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp