Re: [GENERAL] division by zero - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [GENERAL] division by zero
Date
Msg-id 24938.1047335704@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] division by zero  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-hackers
Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
>> 1.  There are only about half a dozen places for a user-triggered
>> division by zero to occur (the div and mod functions for int2, int4,
>> int8; have I missed anything?).  It would not be very painful to insert

> It's unlikely to come up in practice, but chardiv as well for "char".

Good catch --- thanks!
        regards, tom lane


pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: [GENERAL] division by zero
Next
From: Bruce Badger
Date:
Subject: Re: [INTERFACES] Roadmap for FE/BE protocol redesign