From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Oliver Siegmar <oliver(at)siegmar(dot)net> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps |
Date: | 2005-04-21 15:10:08 |
Message-ID: | 15529.1114096208@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-patches |
Oliver Siegmar <oliver(at)siegmar(dot)net> writes:
> On Thursday 21 April 2005 15:57, Tom Lane wrote:
>> If it is only the float case, some imprecision is to be expected.
> So everything is okay?
Well, it's not necessarily *wrong*, but maybe we could improve it.
The code currently assumes it can print 10 fractional digits in the
float case, which is overly optimistic once you get a large number
of days in the "days" component. Maybe we should add some code
to back off the precision depending on the number of days?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-04-21 15:28:59 | Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps |
Previous Message | Oliver Siegmar | 2005-04-21 15:01:24 | Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-04-21 15:28:59 | Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps |
Previous Message | Oliver Siegmar | 2005-04-21 15:01:24 | Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps |