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

From Daniel Gustafsson
Subject Re: to_date()/to_timestamp() silently accept month=0 and day=0
Date
Msg-id B96867CD-3533-40BA-AE09-43DB2CA5DC48@yesql.se
Whole thread
In response to Re: to_date()/to_timestamp() silently accept month=0 and day=0  (Michael Paquier <michael@paquier.xyz>)
Responses Re: to_date()/to_timestamp() silently accept month=0 and day=0
List pgsql-bugs
> On 24 Apr 2026, at 00:14, Michael Paquier <michael@paquier.xyz> wrote:
> 
> On Thu, Apr 23, 2026 at 10:06:41PM +0530, Ayush Tiwari wrote:
>> If we are not going to change the behaviour, imo, we should
>> atleast add a test case to depict this scenario and comment
>> that says this is expected behaviour according to the community.
> 
> Yes, we could close the gap with some tests, at least.

+1. Do you want to work on this Ayush?

--
Daniel Gustafsson




pgsql-bugs by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: BUG #19457: RE: pgp_sym_encrypt silently accepts non-FIPS ciphers (bf, cast5, 3des) when OpenSSL is in FIPS mod
Next
From: Ayush Tiwari
Date:
Subject: Re: to_date()/to_timestamp() silently accept month=0 and day=0