Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps
Дата
Msg-id 15529.1114096208@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps  (Oliver Siegmar <oliver@siegmar.net>)
Ответы Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
Oliver Siegmar <oliver@siegmar.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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Marc Soleda"
Дата:
Сообщение: BUG #1612: Problem with PGAPI_SetPos
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps