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

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Have numeric 0 ^ 4.3 return 1, rather than an error, and have 0 ^
Date: 2008-05-08 19:25:38
Message-ID: 20080508192538.C66FD7559E9@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
numeric.c (r1.110 -> r1.111)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/numeric.c?r1=1.110&r2=1.111)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message User Mha 2008-05-08 19:31:55 pginstaller - web: Move the running on native windows FAQ to the wiki.
Previous Message Bruce Momjian 2008-05-08 19:11:36 pgsql: Have psql output tab as the proper number of spaces, rather than