BUG #18372: Timezone documentation and use of TZ and PGTZ environment variables missing since version 7.4
The following bug has been logged on the website:
Bug reference: 18372
Logged by: James Gilbert
Email address: jgrg@sanger.ac.uk
PostgreSQL version: Unsupported/Unknown
Operating system: Any
Description:
As far as I can tell, the documentation of the TZ and PGTZ environment
variables read by the PostgreSQL still behaves as described in the
documentation for version 7.4:
https://www.postgresql.org/docs/7.4/datatype-datetime.html#DATATYPE-TIMEZONES
but is absent from more recent versions.
James
PG Bug reporting form <noreply@postgresql.org> writes:
As far as I can tell, the documentation of the TZ and PGTZ environment
variables read by the PostgreSQL still behaves as described in the
documentation for version 7.4:
https://www.postgresql.org/docs/7.4/datatype-datetime.html#DATATYPE-TIMEZONES
but is absent from more recent versions.
Hm? PGTZ is still mentioned there, assuming I'm looking at the same
spot you are. As for TZ, it's now magic to initdb but not the server,
so the documentation mention moved. See this 9.2-era commit:
regards, tom lane