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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Boh Yap <bhyz00(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5178: make check fails because of locale en_AU.US-ASCII
Date: 2009-11-10 22:15:34
Message-ID: 6175.1257891334@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message suresh adapa 2009-11-11 08:57:11 Re: FW: postgresql-8.3.6-1PGDG : password
Previous Message Peter Eisentraut 2009-11-10 22:08:16 Re: BUG #5178: make check fails because of locale en_AU.US-ASCII