add regression tests for divide-by-zero

Started by Neil Conwayover 23 years ago2 messagespatches
Jump to latest
#1Neil Conway
neilc@samurai.com

I've noticed a couple platforms / compiler combinations having problems
with properly handling divide-by-zero errors, so this patch updates the
regression tests to include this behaviour. I also took the liberty of
updating some Postquel terms their SQL equivalents (e.g. retrieve ->
select, etc.)

Cheers,

Neil
--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

Attachments:

zero-regression-test-1.patchtext/x-patch; charset=ANSI_X3.4-1968; name=zero-regression-test-1.patchDownload+50-33
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Neil Conway (#1)
Re: add regression tests for divide-by-zero

Neil Conway <neilc@samurai.com> writes:

I've noticed a couple platforms / compiler combinations having problems
with properly handling divide-by-zero errors, so this patch updates the
regression tests to include this behaviour. I also took the liberty of
updating some Postquel terms their SQL equivalents (e.g. retrieve ->
select, etc.)

Applied along with code patches to make sure the behavior will be
uniform across platforms.

regards, tom lane