pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: ND Abelisto <abelisto@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14446: make_date with negative year
Date: Wed, 18 Jan 2017 18:58:59 -0300
Message-ID: <20170118215859.d3i6aexgreozm6ey@alvherre.pgsql> (raw)
In-Reply-To: <CAFj8pRB1AysgBVtUgT5QHTkvCpjREyCjcou+e6onkPuraheP0Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



view thread (7+ messages)  latest in thread

Message-ID: <20170118215859.d3i6aexgreozm6ey@alvherre.pgsql>
Permalink:  ../20170118215859.d3i6aexgreozm6ey@alvherre.pgsql/
Also on:    postgresql.org/message-id/20170118215859.d3i6aexgreozm6ey@alvherre.pgsql

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@2ndquadrant.com, pavel.stehule@gmail.com, abelisto@gmail.com
  Subject: Re: BUG #14446: make_date with negative year
  In-Reply-To: <20170118215859.d3i6aexgreozm6ey@alvherre.pgsql>
  References: <CAFj8pRB1AysgBVtUgT5QHTkvCpjREyCjcou+e6onkPuraheP0Q@mail.gmail.com> <20170118215859.d3i6aexgreozm6ey@alvherre.pgsql>

* 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