pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Aleksander Alekseev <aleksander@timescale.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Undocumented behavior of timezone(zone, timestamp) for impossible timestamptz's
Date: Mon, 10 Jan 2022 10:29:12 -0500
Message-ID: <2191355.1641828552@sss.pgh.pa.us> (raw)
In-Reply-To: <2189837.1641827700@sss.pgh.pa.us>
References: <CAJ7c6TN7J+V=w1XbA25awSD+WVdtrOsZSWYGcwF3fSdV+7pT5g@mail.gmail.com>
	<2189837.1641827700@sss.pgh.pa.us>

I wrote:
> Aleksander Alekseev <aleksander@timescale.com> writes:
>> 1. Should this behavior be documented in the 9.9.4. AT TIME ZONE
>> section or maybe it's documented elsewhere and I just missed it?

> https://www.postgresql.org/docs/current/datetime-invalid-input.html

... and reading that again, I realize that I screwed up the
fall-back example :-(.  2:30 is not ambiguous; I should have
demonstrated the behavior for, say, 1:30.  Will fix.

			regards, tom lane





view thread (3+ messages)

Message-ID: <2191355.1641828552@sss.pgh.pa.us>
Permalink:  ../2191355.1641828552@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2191355.1641828552@sss.pgh.pa.us

 · 

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, aleksander@timescale.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Undocumented behavior of timezone(zone, timestamp) for impossible timestamptz's
  In-Reply-To: <2191355.1641828552@sss.pgh.pa.us>

* 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