Change ln(), log(), power(), and sqrt() to emit the correct SQLSTATE

Neil Conway <neilc@samurai.com>

Commit: 2871f60f232a5a5b496f3d75156bfeb679c3d161
Author: Neil Conway <neilc@samurai.com>
Date: 2004-05-16T23:18:55Z
Releases: 8.0.0
Change ln(), log(), power(), and sqrt() to emit the correct SQLSTATE
error codes for certain error conditions, as specified by SQL2003.

Files

PathChange+/−
doc/src/sgml/errcodes.sgml modified +11 −1
src/backend/utils/adt/float.c modified +26 −9
src/backend/utils/adt/numeric.c modified +27 −3
src/include/utils/errcodes.h modified +4 −2