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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
Attachment: /rtmp/diff
Description: text/x-diff (3.3 KB)
In response to
pgsql-committers by date
| Next: | From: Tom Lane | Date: 2008-05-08 22:23:31 |
| Subject: Re: pgsql: Have numeric 0 ^ 4.3 return 1, rather than an error, and have 0 ^ |
| Previous: | From: Bruce Momjian | Date: 2008-05-08 22:17:54 |
| Subject: pgsql: Add regression test for various power expressions with a zero |