Re: regress test failed

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: regress test failed
Date: 2011-09-04 14:47:46
Message-ID: 4E638F92.2020409@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2011-09-04 15:16:52 Re: regress test failed
Previous Message Peter Eisentraut 2011-09-04 14:23:26 Re: regress test failed