Content-Length: 257614 | pFad | http://github.com/postgrespro/postgres/commit/066e3a68ae5210a1fb4ac1c19069202615ce4d89

CE Fix locale pointer use in WIN32 code path · postgrespro/postgres@066e3a6 · GitHub
Skip to content

Commit 066e3a6

Browse files
committed
Fix locale pointer use in WIN32 code path
Author: David Rowley <david.rowley@2ndquadrant.com>
1 parent e148009 commit 066e3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/varlena.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@ varstr_cmp(char *arg1, int len1, char *arg2, int len2, Oid collid)
14901490
errno = 0;
14911491
#ifdef HAVE_LOCALE_T
14921492
if (mylocale)
1493-
result = wcscoll_l((LPWSTR) a1p, (LPWSTR) a2p, mylocale);
1493+
result = wcscoll_l((LPWSTR) a1p, (LPWSTR) a2p, mylocale->info.lt);
14941494
else
14951495
#endif
14961496
result = wcscoll((LPWSTR) a1p, (LPWSTR) a2p);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/066e3a68ae5210a1fb4ac1c19069202615ce4d89

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy