Re: [BUGS] BUG #1993: Adding/subtracting negative time intervals - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [BUGS] BUG #1993: Adding/subtracting negative time intervals
Date
Msg-id 200510261520.j9QFKsQ05948@candle.pha.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #1993: Adding/subtracting negative time intervals  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [BUGS] BUG #1993: Adding/subtracting negative time intervals
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Keep in mind that the addition of the interval_justify_hours() did
> > generate some regression test changes, so removing
> > interval_justify_hours() might just take the results back to what we had
> > in 8.0.
> 
> Not hardly.  I tried already.  The existing timestamp_mi behavior is
> probably as close to 8.0 as we can get given the change in underlying
> representation.

You mean the '6432 hours' is a worse change, OK.

> > I guess my point is that we are changing 8.0.X behavior so we better be
> > sure it is now the way we want it to remain.
> 
> [ shrug... ]  We've changed datetime behavior in every past release,
> we're changing it for 8.1, we'll probably change it some more for 8.2,
> and again after that.  All the datetime code is a work in progress.
> Get used to it.

OK, as long as we are sure we are not going to change it back to 8.0
behavior.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #1993: Adding/subtracting negative time intervals
Next
From: "Kevin Grittner"
Date:
Subject: Re: [BUGS] BUG #1993: Adding/subtracting negative