Re: Inconsistent results with libc sorting on Windows - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Inconsistent results with libc sorting on Windows
Date
Msg-id CA+hUKGKaz5CNdEqELvo7DFMdR-zPXVEF=iHH9MU2zao9i6ZmiQ@mail.gmail.com
Whole thread Raw
In response to Re: Inconsistent results with libc sorting on Windows  (Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>)
Responses Re: Inconsistent results with libc sorting on Windows  (Peter Geoghegan <pg@bowt.ie>)
List pgsql-hackers
Trying to follow along here... you're doing the moral equivalent of
strxfrm(), so sort keys have the transitive property but direct string
comparisons don't?  Or is this because LCIDs reach a different
algorithm somehow (or otherwise why do you need to use LCIDs for this,
when there is a non-LCID version of that function, with a warning not
to use the older LCID version[1]?)

[1] https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-lcmapstringw



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: DSA failed to allocate memory
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: Avoid unncessary always true test (src/backend/storage/buffer/bufmgr.c)