BUG #16419: wrong parsing BC year in to_date() function

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: dar_alathar(at)hotmail(dot)com
Subject: BUG #16419: wrong parsing BC year in to_date() function
Date: 2020-05-06 21:26:55
Message-ID: 16419-d8d9db0a7553f01b@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

The following bug has been logged on the website:

Bug reference: 16419
Logged by: Saeed Hubaishan
Email address: dar_alathar(at)hotmail(dot)com
PostgreSQL version: 12.2
Operating system: Windows 10x64
Description:

select to_date('-1-01-01','yyyy-mm-dd');
will get
0002-01-01 BC

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2020-05-06 22:45:14 Re: BUG #16419: wrong parsing BC year in to_date() function
Previous Message Alvaro Herrera 2020-05-06 17:02:26 Re: DROP OWNED CASCADE vs Temp tables

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2020-05-06 21:38:10 Re: Another modest proposal for docs formatting: catalog descriptions
Previous Message Jonathan S. Katz 2020-05-06 21:24:13 Re: Another modest proposal for docs formatting: catalog descriptions