Re: BUG #17305: to_timestamp accept dates rejected by timestamptz cast - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #17305: to_timestamp accept dates rejected by timestamptz cast
Date
Msg-id 2117960.1638471255@sss.pgh.pa.us
Whole thread Raw
In response to BUG #17305: to_timestamp accept dates rejected by timestamptz cast  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
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



pgsql-bugs by date:

Previous
From: "Ian R. Campbell"
Date:
Subject: Re: Inconsistent cast to "char"
Next
From: Tom Lane
Date:
Subject: Re: Inconsistent cast to "char"