Re: to_date()/to_timestamp() silently accept month=0 and day=0 - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: to_date()/to_timestamp() silently accept month=0 and day=0
Date
Msg-id afPeUhP7I5zF4kXo@paquier.xyz
Whole thread
In response to Re: to_date()/to_timestamp() silently accept month=0 and day=0  (Ayush Tiwari <ayushtiwari.slg01@gmail.com>)
List pgsql-bugs
On Thu, Apr 30, 2026 at 07:44:24PM +0530, Ayush Tiwari wrote:
> I'll add this to the commitfest, so that we can circle back on this
> once v20 development starts.
>
> I think parallely we can commit Daniel's v2 patch, since
> that correctly documents what Postgres has right now, and we'll
> know what exactly to change if we decide to go the other way.

I'll leave that up to Daniel, I guess, as he has sent the patch.

All this stuff qualifies as v20 to me, including the new tests.  Now,
I don't see a reason against committing the new tests now.  I doubt
that this are going to impact the buildfarm, and we are still early in
the beta period.  I may be wrong about the buildfarm part, of course.

:)
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: BUG #19418: SQL/JSON JSON_VALUE() does not conform to ISO/IEC 9075-2:2023(E) 6.34
Next
From: Richard Guo
Date:
Subject: Re: BUG #19418: SQL/JSON JSON_VALUE() does not conform to ISO/IEC 9075-2:2023(E) 6.34