Re: BUG #5178: make check fails because of locale en_AU.US-ASCII - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5178: make check fails because of locale en_AU.US-ASCII
Date
Msg-id 6175.1257891334@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #5178: make check fails because of locale en_AU.US-ASCII  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: BUG #5178: make check fails because of locale en_AU.US-ASCII
List pgsql-bugs
Peter Eisentraut <peter_e@gmx.net> writes:
> On tis, 2009-11-10 at 20:45 +0000, Boh Yap wrote:
>> could not determine encoding for locale "en_AU.US-ASCII": codeset is
>> "US-ASCII"

> Try using a different locale.

Or specify an encoding explicitly.

I was wondering what we ought to do about this.  I can't find any clear
documentation about these locales on my Mac, but it sure looks like they
are effectively encoding-agnostic, which means that it might be
reasonable to default to SQL_ASCII --- anyway there is certainly not any
basis for selecting a different default.  However, if we want to do that
it's not a one-liner change, because the API for
pg_get_encoding_from_locale isn't designed to allow for this.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: BUG #5178: make check fails because of locale en_AU.US-ASCII
Next
From: Heikki Linnakangas
Date:
Subject: Re: FW: postgresql-8.3.6-1PGDG : password