Re: Bad interval conversion? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bad interval conversion?
Date
Msg-id 24633.1250613739@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bad interval conversion?  (Alex Hunsaker <badalex@gmail.com>)
Responses Re: Bad interval conversion?  (Alex Hunsaker <badalex@gmail.com>)
List pgsql-bugs
Alex Hunsaker <badalex@gmail.com> writes:
> It only happens if you have integer date times on... seems to have
> gotten introduced by
> http://archives.postgresql.org/pgsql-committers/2008-03/msg00406.php

Uh, no, fsec_t was int32 before that (look towards the bottom of the
diff).  I'm fairly dubious that fixing it as you suggest is a one-liner
--- the width of fsec_t is something that seems likely to propagate all
over.  A narrower fix for whatever this specific problem is seems safer.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: BUG #4993: memory issue with array_agg
Next
From: "Ali Al-Aswad"
Date:
Subject: BUG #4994: Silent Installation