Re: int4, int8, real ....division... - Mailing list pgsql-bugs

From Tom Lane
Subject Re: int4, int8, real ....division...
Date
Msg-id 28481.1085148948@sss.pgh.pa.us
Whole thread Raw
In response to Re: int4, int8, real ....division...  (Neil Conway <neilc@samurai.com>)
List pgsql-bugs
Neil Conway <neilc@samurai.com> writes:
> Tom Lane wrote:
>> This isn't a division problem --- the difficulty is there's no check for
>> overflow in int4 multiplication.  (Nor in any of the other integer
>> arithmetic operations, for that matter.)

> Or am I misreading the spec?

Spec compliance is not the issue here, the issue is devising a
reasonable implementation ...

            regards, tom lane

pgsql-bugs by date:

Previous
From: Neil Conway
Date:
Subject: Re: int4, int8, real ....division...
Next
From: David Flater
Date:
Subject: Embedded SQL library bug