From: Tom Lane <tgl@sss.pgh.pa.us>
To: nguyenkhacchinh@hotmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17305: to_timestamp accept dates rejected by timestamptz cast
Date: Thu, 02 Dec 2021 13:54:15 -0500
Message-ID: <2117960.1638471255@sss.pgh.pa.us> (raw)
In-Reply-To: <17305-f46fefde8303adf0@postgresql.org>
References: <17305-f46fefde8303adf0@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> writes:
> I don't know if this is a bug or just an unusual behavior. I had assumed,
> per the documentation, that function to_timestamp() is the same as
> timestamptz but with control for different formats.
It is not, and I don't see the documentation claiming that it is.
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, nguyenkhacchinh@hotmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17305: to_timestamp accept dates rejected by timestamptz cast
In-Reply-To: <2117960.1638471255@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