pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: fix bogus example about ambiguous timestamps.
Date: Mon, 10 Jan 2022 16:47:22 +0000
Message-ID: <E1n6xpK-0002kL-Qs@gemulon.postgresql.org> (raw)

Doc: fix bogus example about ambiguous timestamps.

I had a brain fade in commit d32899157, and used 2:30AM as the
example timestamp for both spring-forward and fall-back cases.
But it's not actually ambiguous at all in the fall-back case,
because that transition is from 2AM to 1AM under USA rules.
Fix the example to use 1:30AM, which *is* ambiguous.

Noted while answering a question from Aleksander Alekseev.
Back-patch to all supported branches.

Discussion: https://postgr.es/m/2191355.1641828552@sss.pgh.pa.us

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/790d6edf639a8c6cb12eb9f81069349c28767976

Modified Files
--------------
doc/src/sgml/datetime.sgml | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1n6xpK-0002kL-Qs@gemulon.postgresql.org>
Permalink:  ../E1n6xpK-0002kL-Qs@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1n6xpK-0002kL-Qs@gemulon.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Doc: fix bogus example about ambiguous timestamps.
  In-Reply-To: <E1n6xpK-0002kL-Qs@gemulon.postgresql.org>
  References: <E1n6xpK-0002kL-Qs@gemulon.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