From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Michael Fuhr <mike(at)fuhr(dot)org>, Michael Glaesemann <grzm(at)myrealbox(dot)com>, Klint Gore <kg(at)kgb(dot)une(dot)edu(dot)au>, Russell Smith <mr-russ(at)pws(dot)com(dot)au>, pgsql-bugs(at)postgresql(dot)org, Nicholas <hb(at)x256(dot)com> |
Subject: | Re: BUG #1993: Adding/subtracting negative time intervals |
Date: | 2005-10-25 13:23:03 |
Message-ID: | 200510251323.j9PDN3j29126@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > OK, what about 1.5 * '1 day'. By my logic multiplication and division
> > were by definition imprecise. Is the logic that we spill down only for
> > non-integral values?
>
> Right. Interval multiplication has always spilled fractional months
> over to seconds, but never the reverse. We have to have that same
> policy now for fractional days.
OK, I think that makes sense.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2005-10-25 14:27:51 | Re: BUG #1998: transaction locks parent record when it shouldn't |
Previous Message | Tom Lane | 2005-10-25 13:14:12 | Re: BUG #1993: Adding/subtracting negative time intervals |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-10-25 13:24:04 | Re: PG Killed by OOM Condition |
Previous Message | Tom Lane | 2005-10-25 13:14:12 | Re: BUG #1993: Adding/subtracting negative time intervals |