Re: [GENERAL] division by zero

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] division by zero
Date: 2003-03-10 22:35:04
Message-ID: 24938.1047335704@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Badger 2003-03-10 22:42:56 Re: [INTERFACES] Roadmap for FE/BE protocol redesign
Previous Message Stephan Szabo 2003-03-10 22:32:52 Re: [GENERAL] division by zero