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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-11 17:13:18
Message-ID: 1257959598.22025.5.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On tis, 2009-11-10 at 17:15 -0500, Tom Lane wrote:
> 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.

Well, --locale=C results in encoding SQL_ASCII, and the encoding of
locale C is in fact by definition US-ASCII. So any locale that
explicitly claims it is US-ASCII should have the same result.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sachin Srivastava 2009-11-11 19:04:04 Re: BUG #5179: Installation fails
Previous Message Heikki Linnakangas 2009-11-11 10:20:50 Re: FW: postgresql-8.3.6-1PGDG : password