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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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.

Browse pgsql-committers by date

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