Have numeric 0 ^ 4.3 return 1, rather than an error, and have 0 ^ 0.0

Bruce Momjian <bruce@momjian.us>

Commit: 6b4e9d16547760ad7132c138b6c76bca96d135cc
Author: Bruce Momjian <bruce@momjian.us>
Date: 2008-05-08T19:25:38Z
Releases: 8.4.0
Have numeric 0 ^ 4.3 return 1, rather than an error, and have 0 ^ 0.0
return 1, rather than error.

This was already the float8 behavior.

Files

PathChange+/−
src/backend/utils/adt/numeric.c modified +16 −7