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

Commitfcaae5f

Browse files
committed
Fix problem with POSIX collation in ICU library under Win32
by making C collation instead of POSIX.
1 parent298c7c9 commitfcaae5f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎src/backend/utils/adt/pg_locale.c

100644100755
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,11 @@ pg_newlocale_from_collation(Oid collid)
11831183
result=newlocale(LC_COLLATE_MASK |LC_CTYPE_MASK,collcollate,
11841184
NULL);
11851185
#else
1186+
#ifdefUSE_ICU
1187+
if (strcmp(collcollate,"POSIX")==0)
1188+
result=_create_locale(LC_ALL,"C");
1189+
else
1190+
#endif
11861191
result=_create_locale(LC_ALL,collcollate);
11871192
#endif
11881193
if (!result)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp