pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: ysangkok@gmail.com
Subject: Second-granular timezone offset format not documented
Date: Sun, 04 Jul 2021 20:37:08 +0000
Message-ID: <162543102827.697.5755498651217979813@wrigleys.postgresql.org> (raw)

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.


view thread (5+ messages)  latest in thread

Message-ID: <162543102827.697.5755498651217979813@wrigleys.postgresql.org>
Permalink:  ../162543102827.697.5755498651217979813@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/162543102827.697.5755498651217979813@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, ysangkok@gmail.com
  Subject: Re: Second-granular timezone offset format not documented
  In-Reply-To: <162543102827.697.5755498651217979813@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox