Re: initdb and OSX why must I --no-locale

From: Theodore Petrosky <tedpet5(at)yahoo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: initdb and OSX why must I --no-locale
Date: 2002-12-02 03:58:37
Message-ID: 20021202035837.83974.qmail@web41015.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


I will send the bug report copying what is said here
to Apple.

I copied and pasted the error message here so it did
not say 'en_US'.

Ted

--- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Theodore Petrosky <tedpet5(at)yahoo(dot)com> writes:
> > I've just finished the install of 7.3 release on
> mac
> > OSX 10.2.2. I notice that initdb will permit me to
> > init a directory for use, then when running
> postmaster
> > using the directory I get a fatal error:
>
> > FATAL: invalid value for option 'LC_TIME': 'en'
>
> Are you sure it didn't say 'en_US' ? That's what I
> get on OSX if
> I don't set LANG to C (or equivalently use
> --no-locale).
>
> > BTW, what is the problem with OSX that it requires
> > --no-locale?
>
> Apple's locale handling seems to be fairly broken.
> They should not set
> LANG to a value that their own library won't accept.
> I'd suggest filing
> a bug report with them.
>
> regards, tom lane

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-12-02 04:48:18 Re: Bug #829: 7.3 crashes when trying to set variable to default
Previous Message William.Jiang 2002-12-02 01:57:00 postmaster7.3b5 service in Win2k cannot work properly