Client parameter list omits timezone

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: kevin(at)meter(dot)com
Subject: Client parameter list omits timezone
Date: 2020-07-24 17:19:04
Message-ID: 159561114481.620.13530322877851704528@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/libpq-connect.html
Description:

I am looking for a complete list of parameters that I can pass in the
"connect"/"open database connection" list on the client (in this case,
github.com/lib/pq).

The list of parameters documented here:
https://www.postgresql.org/docs/11/libpq-connect.html#LIBPQ-PARAMKEYWORDS
does not include the "timezone" parameter. However, github.com/lib/pq seems
to indicate that "timezone" is an acceptable parameter, for example, here:
https://github.com/lib/pq/blob/master/encode_test.go#L123

Elsewhere in the docs, the PGTZ environment variable can be used to set the
timezone on the client.

I would expect to see "timezone" (and anything else that can be configured)
in that list.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Geoghegan 2020-07-24 18:03:54 Re: Default setting for enable_hashagg_disk
Previous Message Tomas Vondra 2020-07-24 16:01:47 Re: Default setting for enable_hashagg_disk