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
Raw File
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
README.git
(This file does not appear in release tarballs.)

In a release or snapshot tarball of PostgreSQL, a documentation file named
INSTALL will appear in this directory.  However, this file is not stored in
git and so will not be present if you are using a git checkout.

If you are using a git checkout, you can view the most recent installation
instructions at:
	https://www.postgresql.org/docs/devel/static/installation.html

Users compiling from git will also need compatible versions of Bison, Flex,
and Perl, as discussed in the install documentation.  These programs are not
needed when using a tarball, since the files they are needed to build are
already present in the tarball.  (On Windows, however, you need Perl anyway.)
back to top