OK, Richard's tip works, i do not really know why - it is not the first
time i installed postgresql on macos x, so i believe apples locales
support on the system is not really good. thanks for all of you helping
me.
regards
henning
Am Mittwoch, 23.06.04 um 12:27 Uhr schrieb Richard Huxton:
> Adam Witney wrote:
>> Forwarding to the mailing list, as I don't know how to fix it....
>> ------ Forwarded Message
>> From: Henning Klein <kleinh@rz.uni-potsdam.de>
>
>> i have major problems installing pgsql on a mac using mac os x 10.2.8.
>> everytime i try to start initdb after finishing my installation the
>> mac
>> says:
> ...
>> The database cluster will be initialized with locale de_DE.
> ...
>> creating template1 database in /usr/local/pgsql/data//base/1... FATAL:
>> invalid value for parameter "lc_time": "de_DE"
>
> Well, you can run initdb with different locales:
> initdb --locale=C
> Or, you could just override the invalid time locale:
> initdb --lc-time=<CORRECT ZONE HERE>
>
> Now, why de_DE isn't valid, I don't know. Try the output of "locale"
> from the command-prompt and see what that says about it.
>
> --
> Richard Huxton
> Archonet Ltd
>