On 09/04/2011 10:23 AM, Peter Eisentraut wrote:
On sön, 2011-09-04 at 08:57 -0400, Andrew Dunstan wrote:
In what locale does 'sc' sort before 's4'?
In Czech.
(And I'd humbly suggest that whatever locale it is is possibly
broken.)
There were some discussions about this in the past; it's apparently
based on a national standard and completely valid.
Well, I don't think we are obliged to cater for locales that break ASCII
ordering. (There's a reason the buildfarm client runs its first set of
checks in C locale).
And to answer Pavel's question in email to me (maybe he meant to hit
reply-all instead of reply):
This order is based on czech locale, but regress tests should be
independent on locale?
No, it's not really possible. Something has to determine sort order.
cheers
andrew
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers