Re: Making the regression tests locale-proof

Trond Eivind Glomsrød <teg@redhat.com>

From: teg@redhat.com (Trond Eivind Glomsrød )
To: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2002-05-10T21:44:12Z
Lists: pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:

> The assumption here is that all locales will choose the same sort order as
> long as they're dealing only with the core 26 letters.  This does not have
> to be true in theory, but I think it works for the vast majority of
> practical cases.


Not for uppercase vs. lowercase versions of them.

With no locale used (straight ASCII), you get A C b, with a locale
you'll get A b C.

-- 
Trond Eivind Glomsrød
Red Hat, Inc.