https://github.com/postgres/postgres
Revision ce1c30eceb57ccb8ede96565c252bb6f41b6d4e1 authored by Tom Lane on 21 April 2024, 17:46:20 UTC, committed by Tom Lane on 21 April 2024, 17:46:20 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
1 parent 74a587a
History
Tip revision: ce1c30eceb57ccb8ede96565c252bb6f41b6d4e1 authored by Tom Lane on 21 April 2024, 17:46:20 UTC
Make postgres_fdw request remote time zone 'GMT' not 'UTC'.
Tip revision: ce1c30e
File Mode Size
config
contrib
doc
src
.dir-locals.el -rw-r--r-- 730 bytes
.git-blame-ignore-revs -rw-r--r-- 8.0 KB
.gitattributes -rw-r--r-- 1.5 KB
.gitignore -rw-r--r-- 515 bytes
COPYRIGHT -rw-r--r-- 1.2 KB
GNUmakefile.in -rw-r--r-- 4.2 KB
HISTORY -rw-r--r-- 284 bytes
Makefile -rw-r--r-- 1.6 KB
README -rw-r--r-- 1.2 KB
README.git -rw-r--r-- 728 bytes
aclocal.m4 -rw-r--r-- 445 bytes
configure -rwxr-xr-x 575.2 KB
configure.in -rw-r--r-- 86.0 KB

README

back to top