Re: int4, int8, real ....division...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: gyenese(at)mediagnost(dot)hu, pgsql-bugs(at)postgresql(dot)org
Subject: Re: int4, int8, real ....division...
Date: 2004-05-21 14:15:48
Message-ID: 28481.1085148948@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Neil Conway <neilc(at)samurai(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message CoL 2004-05-21 15:32:28 Re: LATIN2 'bssz' and 'bszsz' fails on unique index
Previous Message Neil Conway 2004-05-21 10:42:13 Re: int4, int8, real ....division...