Re: Strange interval arithmetic - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Strange interval arithmetic
Date
Msg-id 29240.1133372260@sss.pgh.pa.us
Whole thread Raw
In response to Re: Strange interval arithmetic  (Michael Fuhr <mike@fuhr.org>)
Responses Re: Strange interval arithmetic
List pgsql-hackers
Michael Fuhr <mike@fuhr.org> writes:
>> I see this behavior back to at least 7.3.  I'd guess it's because
>> strtol() indicates overflow by returning LONG_MAX and setting errno
>> to ERANGE, but the code doesn't check for that.

> Is this worth looking at for the upcoming dot releases?

Sure, send a patch ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Strange interval arithmetic
Next
From: Tom Lane
Date:
Subject: Re: Upcoming PG re-releases