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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: initdb and OSX why must I --no-locale
Дата
Msg-id 2687.1038786140@sss.pgh.pa.us
обсуждение исходный текст
Ответ на initdb and OSX why must I --no-locale  (Theodore Petrosky <tedpet5@yahoo.com>)
Ответы Re: initdb and OSX why must I --no-locale  (Theodore Petrosky <tedpet5@yahoo.com>)
Список pgsql-bugs
Theodore Petrosky <tedpet5@yahoo.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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug #832: delete rule reports 0 modifications
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug #829: 7.3 crashes when trying to set variable to default