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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16419: wrong parsing BC year in to_date() function
Date: 2020-09-30 20:20:16
Message-ID: 20200930202016.GG26841@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Wed, Sep 30, 2020 at 03:11:06PM -0400, Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > On Wed, Sep 30, 2020 at 02:50:31PM -0400, Tom Lane wrote:
> >> Actually, I was just finishing up back-patching the patch I posted
> >> yesterday. I think we should just fix it, not document that it's
> >> broken.
>
> > Agreed, that's what I wanted. You stated in a later email you couldn't
> > convince yourself of the backpatch, which is why I asked.
>
> Oh, I see where our wires are crossed. I meant that I couldn't
> convince myself to back-patch the make_timestamp() change.
> (I'm still willing to listen to an argument to do so, if anyone
> wants to make one --- but that part feels more like a feature
> addition than a bug fix.)

OK, at least this is addressed fully in PG 14 and beyond.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EnterpriseDB https://enterprisedb.com

The usefulness of a cup is in its emptiness, Bruce Lee

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2020-09-30 20:49:51 Re: BUG #16419: wrong parsing BC year in to_date() function
Previous Message Tom Lane 2020-09-30 19:11:06 Re: BUG #16419: wrong parsing BC year in to_date() function

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2020-09-30 20:49:51 Re: BUG #16419: wrong parsing BC year in to_date() function
Previous Message Rahila Syed 2020-09-30 19:58:28 Re: [PATCH] Automatic HASH and LIST partition creation