Re: pgsql: Set the volatility of the timestamptz version of date_bin() back

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Set the volatility of the timestamptz version of date_bin() back
Дата
Msg-id 2598260.1630701778@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Set the volatility of the timestamptz version of date_bin() back  (John Naylor <john.naylor@postgresql.org>)
Список pgsql-committers
John Naylor <john.naylor@postgresql.org> writes:
> Set the volatility of the timestamptz version of date_bin() back to immutable
> 543f36b43d was too hasty in thinking that the volatility of date_bin()
> had to match date_trunc(), since only the latter references
> session_timezone.

> Bump catversion

What you should have done here, at least in the back branch, was *revert*
catversion to what it had been.  As things stand, it would force users of
14beta3 to initdb or pg_upgrade to move to 14.0, for no reason whatsoever.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Disallow creating an ICU collation if the DB encoding won't supp
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Remove arbitrary MAXPGPATH limit on command lengths in pg_ctl.