Re: 8.3 vs HEAD difference in Interval output?

From: Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.3 vs HEAD difference in Interval output?
Date: 2008-09-15 22:27:34
Message-ID: 48CEE156.5080203@cheapcomplexdevices.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>
> This is not the only place where the float-timestamps code has rounding
> behavior that doesn't appear in the integer-timestamps code.

Yeah... For that matter, I find this surprising as well:

regression=# select '0.7 secs'::interval, ('7 secs'::interval/10);
interval | ?column?
-----------------+-------------
00:00:00.699999 | 00:00:00.70
(1 row)

I'll start making a list of them for a future patch down the road.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-09-15 22:37:06 Coping with nLocks overflow
Previous Message Tom Lane 2008-09-15 22:19:00 Re: 8.3 vs HEAD difference in Interval output?