Re: foreign_data test fails with non-C locale - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: foreign_data test fails with non-C locale
Date
Msg-id 49676B8A.8020707@dunslane.net
Whole thread Raw
In response to Re: foreign_data test fails with non-C locale  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: foreign_data test fails with non-C locale  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Peter Eisentraut wrote:
> Andrew Dunstan wrote:
>> Regression tests have always failed on non-C locales AFAIK. The 
>> buildfarm goes out of its way to avoid that.
>
> The regression tests should work just fine in non-C locales.  If the 
> buildfarm goes out of its way to avoid non-C locales, then it loses 
> some significant code coverage, considering that there are several 
> variant code paths for locales, and considering the amount of users 
> that use them.

It was discussed here at the time, IIRC, and we put in the check 
precisely because other locales broke the buildfarm. Originally 
buildfarm just inherited the locale from its environment.

If it is no longer true that other locales break the tests, then I'm 
happy to examine alternatives.

cheers

andrew




pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: SET TRANSACTION and SQL Standard
Next
From: "Hiroshi Saito"
Date:
Subject: Re: Solve a problem of LC_TIME of windows.