Re: UTC is not a time zone?

Поиск
Список
Период
Сортировка
Искать
От
Erik Wienhold
Тема
Re: UTC is not a time zone?
Дата
в 17:53:19
Msg-id
b79c1b73-33f6-4115-a382-31836925b5fa@ewie.name
Ответ на
UTC is not a time zone? (Christophe Pettus)
Список
Дерево обсуждения
UTC is not a time zone? Christophe Pettus <xof@thebuild.com>
Re: UTC is not a time zone? Adrian Klaver <adrian.klaver@aklaver.com>
Re: UTC is not a time zone? Christophe Pettus <xof@thebuild.com>
Re: UTC is not a time zone? Tom Lane <tgl@sss.pgh.pa.us>
Re: UTC is not a time zone? Christophe Pettus <xof@thebuild.com>
Re: UTC is not a time zone? Tom Lane <tgl@sss.pgh.pa.us>
Re: UTC is not a time zone? Adrian Klaver <adrian.klaver@aklaver.com>
Re: UTC is not a time zone? Christophe Pettus <xof@thebuild.com>
Re: UTC is not a time zone? Tom Lane <tgl@sss.pgh.pa.us>
Re: UTC is not a time zone? Adrian Klaver <adrian.klaver@aklaver.com>
Re: UTC is not a time zone? Christophe Pettus <xof@thebuild.com>
Re: UTC is not a time zone? Adrian Klaver <adrian.klaver@aklaver.com>
Re: UTC is not a time zone? Christophe Pettus <xof@thebuild.com>
Re: UTC is not a time zone? Erik Wienhold <ewie@ewie.name>
Re: UTC is not a time zone? Christophe Pettus <xof@thebuild.com>
On 2024-05-13 19:37 +0200, Christophe Pettus wrote:
> PostgreSQL 16.3 on MacOS Sonoma.  A long-running process (which held a
> connection open the entire time) failed with:
> 
> 2024-05-13 09:12:44.719 PDT,"cyan","cyan",35926,"[local]",664214f9.8c56,3,"SELECT",2024-05-13 06:26:17 PDT,3/444460,0,ERROR,22023,"invalid value for parameter ""TimeZone"": ""UTC""",,,,,"while setting parameter ""TimeZone"" to ""UTC""
> parallel worker","  select count(1), count(1) filter (where visited > 0) from framework_seenchoice  ",,,"","client backend",,0
> 
> It's not (easily) repeatable, and the system was not touched while the
> process was running (no installing new binaries, etc.).  Does this
> look familiar to anyone?

Could be the same issue as [1] (also on macOS).

Can you trigger that error with:

    SET timezone = 'UTC';

And what's the output of:

    SELECT * FROM pg_timezone_names ORDER BY name;

[1] https://www.postgresql.org/message-id/5DF49366-10D1-42A4-99BF-F9A7DC3AB0F4%40mailbox.org

-- 
Erik


В списке pgsql-general по дате отправления
От: Christophe Pettus
Дата:
Сообщение: Re: UTC is not a time zone?
От: Christophe Pettus
Дата:
Сообщение: Re: UTC is not a time zone?
FAQ