pgsql: Make postgres_fdw request remote time zone 'GMT' not 'UTC'.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Make postgres_fdw request remote time zone 'GMT' not 'UTC'.
Дата
Msg-id E1rybGu-003Cm4-Aw@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Make postgres_fdw request remote time zone 'GMT' not 'UTC'.

This should have the same results for all practical purposes.
The advantage of selecting 'GMT' is that it's guaranteed to work
even when the remote system's timezone database is missing
entries, because pg_tzset() hard-wires handling of that,
at least in 9.2 and later.

(It seems like it would be a good idea to similarly hard-wire
correct handling of 'UTC', but that'll be a little more invasive
than I want to consider back-patching.  Leave that for another
day when we're not in feature freeze.)

Per trouble report from Adnan Dautovic.  Back-patch to all
supported branches.

Discussion: https://postgr.es/m/465248.1712211585@sss.pgh.pa.us

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3ed6e1698521211f1d4fc199e490c3b5944785d4

Modified Files
--------------
contrib/postgres_fdw/connection.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)


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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: pgsql: createdb: Correct parameter name in SGML docs
Следующее
От: Tomas Vondra
Дата:
Сообщение: pgsql: createdb: compare strategy case-insensitive