Re: Interval precision busted? - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: Interval precision busted?
Date
Msg-id 3CE11376.EAACD067@fourpalms.org
Whole thread Raw
In response to Interval precision busted?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> I was expecting it to round off ... I think there's something wrong with
> the arithmetic in AdjustIntervalForTypmod.

Yup. I've now updated the lookup tables used for the calculation for the
--disable-integer-datetimes case. The --enable-integer-datetimes case
was already calculated correctly. Regression tests don't pass, but that
is a locale problem.

Thanks for noticing the problem.
                     - Thomas


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: [BUGS] Bug #659: lower()/upper() bug on
Next
From: Tom Lane
Date:
Subject: Re: strange explain