Thread: [PATCH] Remove TZ entry from postgres CLI doc page.

[PATCH] Remove TZ entry from postgres CLI doc page.

From
Matthew Somerville
Date:
Hi,

Please find attached a patch to the postgres command line
documentation page doc/src/sgml/ref/postgres-ref.sgml that removes the
"TZ" entry from the "Environment" section. If I've understood it
correctly, since ca4af308 TZ can be looked at when you run initdb, but
is not looked at when the server is started.

I am using Test::PostgreSQL to create a test database; it empties the
postgresql.conf created by initdb and is then therefore not using the
correct timezone, and it took me a while to work out what was
happening and why I couldn't use TZ when starting the database.

ATB,
Matthew

Attachment

Re: [PATCH] Remove TZ entry from postgres CLI doc page.

From
Tom Lane
Date:
Matthew Somerville <matthew@mysociety.org> writes:
> Please find attached a patch to the postgres command line
> documentation page doc/src/sgml/ref/postgres-ref.sgml that removes the
> "TZ" entry from the "Environment" section. If I've understood it
> correctly, since ca4af308 TZ can be looked at when you run initdb, but
> is not looked at when the server is started.

Yeah, this corner of the documentation evidently got missed in that
commit.  Thanks for noticing, will fix!
        regards, tom lane