Skip site navigation (1) Skip section navigation (2)

pgsql-server/src backend/utils/adt/cash.c back ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src backend/utils/adt/cash.c back ...
Date: 2003-03-11 21:01:33
Message-ID: 20030311210133.9D54D476321@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	tgl(at)postgresql(dot)org	03/03/11 16:01:33

Modified files:
	src/backend/utils/adt: cash.c char.c float.c geo_ops.c int.c 
	                       int8.c numeric.c timestamp.c 
	src/test/regress/expected: errors.out 
	                           float4-exp-three-digits.out 
	                           float4.out 
	                           float8-exp-three-digits.out 
	                           float8-fp-exception.out 
	                           float8-small-is-zero.out float8.out 
	src/test/regress/sql: errors.sql 

Log message:
	Add explicit tests for division by zero to all user-accessible integer
	division and modulo functions, to avoid problems on OS X (which fails to
	trap 0 divide at all) and Windows (which traps it in some bizarre
	nonstandard fashion).  Standardize on 'division by zero' as the one true
	spelling of this error message.  Add regression tests as suggested by
	Neil Conway.


pgsql-committers by date

Next:From: Peter Eisentraut - PostgreSQLDate: 2003-03-13 01:30:29
Subject: pgsql-server/doc/src/sgml advanced.sgml array. ...
Previous:From: Tom LaneDate: 2003-03-11 19:40:24
Subject: pgsql-server/ oc/src/sgml/ref/fetch.sgml oc/sr ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group