Re: [BUGS] BUG #14446: make_date with negative year - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: [BUGS] BUG #14446: make_date with negative year
Date
Msg-id 20170118215859.d3i6aexgreozm6ey@alvherre.pgsql
Whole thread Raw
In response to Re: BUG #14446: make_date with negative year  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-bugs
Pavel Stehule wrote:
> 2016-12-05 19:38 GMT+01:00 Alvaro Herrera <alvherre@2ndquadrant.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.

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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: dsuchka@gmail.com
Date:
Subject: [BUGS] BUG #14504: Wrong index using via view for converted timestamp bytime zone
Next
From: jeff.janes@gmail.com
Date:
Subject: [BUGS] BUG #14505: explain verbose for postgresql_fdw