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

2009-11-11 Thread Tom Lane
Peter Eisentraut writes: > The other alternative is to create a real 7-bit ASCII encoding, but I > doubt it's worth the effort. Yeah, I considered that for about two seconds ... regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make ch

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

2009-11-11 Thread Peter Eisentraut
On ons, 2009-11-11 at 14:27 -0500, Tom Lane wrote: > Okay. Then we need to fix pg_get_encoding_from_locale to distinguish > "I don't know the locale's encoding" from "I know the encoding and > it's > SQL_ASCII". I'm inclined to make it return -1 for the former, Makes sense. The other alternativ

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

2009-11-11 Thread Tom Lane
Peter Eisentraut writes: > 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 >>

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

2009-11-11 Thread Peter Eisentraut
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_AS

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

2009-11-10 Thread Tom Lane
Peter Eisentraut writes: > On tis, 2009-11-10 at 20:45 +, 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

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

2009-11-10 Thread Peter Eisentraut
On tis, 2009-11-10 at 20:45 +, Boh Yap wrote: > make check > failed, when trying to initdb, with this message in log: > > could not determine encoding for locale "en_AU.US-ASCII": codeset is > "US-ASCII" Try using a different locale. -- Sent via pgsql-bugs mailing list (pgsql-bugs@

[BUGS] BUG #5178: make check fails because of locale en_AU.US-ASCII

2009-11-10 Thread Boh Yap
The following bug has been logged online: Bug reference: 5178 Logged by: Boh Yap Email address: bhy...@gmail.com PostgreSQL version: 8.4.1 Operating system: Mac OSX 10.5.8 Description:make check fails because of locale en_AU.US-ASCII Details: installing from src,