Re: BUG #14446: make_date with negative year

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: ND Abelisto <abelisto(at)gmail(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14446: make_date with negative year
Date: 2017-01-19 04:47:43
Message-ID: CAFj8pRDfxtcEbzpW+uK8Fstr8mEtAmDW_aRS8OrCO-JNP-ni5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

2017-01-18 22:58 GMT+01:00 Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>:

> Pavel Stehule wrote:
> > 2016-12-05 19:38 GMT+01:00 Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>:
>
> > > So make_date was introduced in 9.4 by commit f901bb50e; this report is
> > > based on 9.5. Do we want to backpatch this change? Since the fix only
> > > changes behavior that currently errors out anyway, we would not be
> > > changing anything that people are relying on. I lean towards
> > > backpatching all the way back to 9.4 myself.
> >
> > I have not a problem with backpatch - there are a user who see current
> > behave as bug.
>
> In the end, I decided against backpatching. It is not entirely out of
> the question that somebody *is* depending on this erroring out if
> negative years are passed. But I am acting on my own opinion only; if
> there are more votes for a backpatch, I am open to changing it.
>
> If not, we're done here and I'd like to move along.
>

+1

Pavel

>
> --
> Álvaro Herrera https://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Вадим Акбашев 2017-01-19 06:24:30 Re: Strange influence of default_statistics_target
Previous Message Tom Lane 2017-01-19 01:27:56 Re: BUG #14505: explain verbose for postgresql_fdw