Re: Error setting lc_time

From: Holger Jakobs <holger(at)jakobs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Error setting lc_time
Date: 2022-05-24 14:31:04
Message-ID: D0027AE9-54A0-44C7-8DED-D60A0CE6D218@jakobs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I had not restarted PostgreSQL after introducing further locales.

My error.

It seems that PostgreSQL reads the list of locales when starting up.

Regards,
Holger

Sorry für top Posting, this is all my mail app allows.

Am 24. Mai 2022 16:02:53 MESZ schrieb Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>Holger Jakobs <holger(at)jakobs(dot)com> writes:
>> When trying to set the lc_time parameter, an error occurs:
>>     ERROR:  invalid value for parameter "lc_time": "uk_UA.UTF-8"
>
>Works for me ...
>
>regression=# set lc_time = 'uk_UA.UTF-8';
>SET
>
>Maybe this setting is inconsistent with the rest of your LC_xxx
>parameters (particularly lc_collate, lc_ctype)?
>
>> What do I have to do to introduce all locales of the operating system to
>> PostgreSQL?
>
>With zero context provided, it's hard to make any useful suggestions.
>But this looks like an OS question not a Postgres question.
>
> regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2022-05-24 14:44:02 Re: Error setting lc_time
Previous Message Tom Lane 2022-05-24 14:02:53 Re: Error setting lc_time