Second-granular timezone offset format not documented

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: ysangkok(at)gmail(dot)com
Subject: Second-granular timezone offset format not documented
Date: 2021-07-04 20:37:08
Message-ID: 162543102827.697.5755498651217979813@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/13/functions-formatting.html
Description:

I would like to request additional documentation on the timezone format that
can be returned.
Context: I had a problem with the HDBC-postgresql library, it cannot parse
the second-granular timezone offsets returned by PostgreSQL.

Here is an example of a format that I don't think the documentation
currently covers:
janus=> set timezone to 'America/Mexico_City';
SET
janus=> select '1920-12-25' :: timestamptz;
timestamptz
------------------------------
1920-12-25 00:00:00-06:36:36
(1 row)

Note how the response has a very weird timezone offset. I guess it is valid,
but the documentation should note this as an edge case, since timezone
offsets are typically only in minutes.

Thank you for your patience.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2021-07-05 01:05:19 Re: Second-granular timezone offset format not documented
Previous Message David Rowley 2021-07-04 10:38:33 Re: Update maintenance_work_mem/autovacuum_work_mem to reflect the 1GB limitation with VACUUM