Interval precision busted? - Mailing list pgsql-hackers

From Tom Lane
Subject Interval precision busted?
Date
Msg-id 19671.1021327872@sss.pgh.pa.us
Whole thread Raw
List pgsql-hackers
In current sources (compiled without --enable-integer-datetimes) I get

regression=# select interval(0)  '1 day 23:44:55.667677' ;      interval
-----------------------1 day 23:44:55.667677
(1 row)

I was expecting it to round off ... I think there's something wrong with
the arithmetic in AdjustIntervalForTypmod.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "C. Maj"
Date:
Subject: Re: pgaccess - the discussion is over
Next
From: Lamar Owen
Date:
Subject: Discontent with development process (was:Re: pgaccess - the discussion is over)