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

Commit1cc73d1

Browse files
committed
Fix harmless LC_COLLATE[_MASK] confusion.
Commitca051d8 called newlocale(LC_COLLATE, ...) instead ofnewlocale(LC_COLLATE_MASK, ...), in code reached only on FreeBSD. Theyhave the same value on that OS, explaining why it worked. Fix.Back-patch to 14, whereca051d8 landed.
1 parentb7935bc commit1cc73d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,7 @@ get_collation_actual_version(char collprovider, const char *collcollate)
17791779
locale_tloc;
17801780

17811781
/* Look up FreeBSD collation version. */
1782-
loc=newlocale(LC_COLLATE,collcollate,NULL);
1782+
loc=newlocale(LC_COLLATE_MASK,collcollate,NULL);
17831783
if (loc)
17841784
{
17851785
collversion=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp