View Single Post

   
  #3 (permalink)  
Old 05-10-2008, 03:05 PM
Bruce Momjian
 
Posts: n/a
Default Re: pgsql: Have numeric 0 ^ 4.3 return 1, ratherthan an error, and have 0 ^

Neil Conway wrote:
> On Thu, 2008-05-08 at 19:25 +0000, Bruce Momjian wrote:
> > Have numeric 0 ^ 4.3 return 1, rather than an error, and have 0 ^ 0.0
> > return 1, rather than error.

>
> A regression test for this behavior would be useful, I think.


Done, plus I wasn't happy with the original patch so I redid it to be
more modular, also attached.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply With Quote