Re: Interval precision busted?

From: Thomas Lockhart <thomas(at)fourpalms(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Interval precision busted?
Date: 2002-05-14 13:39:02
Message-ID: 3CE11376.EAACD067@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-05-14 13:39:17 Re: strange explain
Previous Message Tatsuo Ishii 2002-05-14 13:18:52 Re: [HACKERS] Bug #659: lower()/upper() bug on