Re: BUG #17305: to_timestamp accept dates rejected by timestamptz cast

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: nguyenkhacchinh(at)hotmail(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17305: to_timestamp accept dates rejected by timestamptz cast
Date: 2021-12-02 18:54:15
Message-ID: 2117960.1638471255@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2021-12-02 19:27:43 Re: Inconsistent cast to "char"
Previous Message Ian R. Campbell 2021-12-02 18:53:55 Re: Inconsistent cast to "char"