Re: The question of LOCALE at the time of a regression test.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: The question of LOCALE at the time of a regression test.
Date: 2008-02-08 16:10:02
Message-ID: 1443.1202487002@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Since we rely on the OS to supply locale settings, getting a reliable
> set of regression tests that depended on the locale would be close to
> impossible. We really have to run the regression tests under --no-locale.

This is quite untrue; we have variant regression files that exist
specifically to support running the tests under various popular locales.
As Hiroshi-san points out, --no-locale isn't even the default in the
Unix makefile.

Perhaps the Windows locales are different enough that what we have
doesn't cover them?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Saito 2008-02-08 16:23:45 Re: The question of LOCALE at the time of a regression test.
Previous Message Bruce Momjian 2008-02-08 15:56:44 Re: TODO item:Allow to_date() and to_timestamp() accept localized month names