pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: dar_alathar@hotmail.com
Subject: BUG #16419: wrong parsing BC year in to_date() function
Date: Wed, 06 May 2020 21:26:55 +0000
Message-ID: <16419-d8d9db0a7553f01b@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16419
Logged by:          Saeed Hubaishan
Email address:      dar_alathar@hotmail.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



view thread (31+ messages)  latest in thread

Message-ID: <16419-d8d9db0a7553f01b@postgresql.org>
Permalink:  ../16419-d8d9db0a7553f01b@postgresql.org/
Also on:    postgresql.org/message-id/16419-d8d9db0a7553f01b@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, dar_alathar@hotmail.com
  Subject: Re: BUG #16419: wrong parsing BC year in to_date() function
  In-Reply-To: <16419-d8d9db0a7553f01b@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox