Skip to content
Snippets Groups Projects
Commit 31e69ccb authored by Tom Lane's avatar Tom Lane
Browse files

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.
parent 6261c750
No related branches found
No related tags found
No related merge requests found
Showing
with 130 additions and 42 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment