Skip site navigation (1) Skip section navigation (2)

Re: pgsql: Have numeric 0 ^ 4.3 return 1, rather thanan error, and have 0 ^

From: Neil Conway <neilc(at)samurai(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Have numeric 0 ^ 4.3 return 1, rather thanan error, and have 0 ^
Date: 2008-05-08 21:00:35
Message-ID: 1210280435.418.7.camel@dell.linuxdev.us.dell.com (view raw or flat)
Thread:
Lists: pgsql-committers
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.

-Neil



In response to

Responses

pgsql-committers by date

Next:From: Bruce MomjianDate: 2008-05-08 22:17:54
Subject: pgsql: Add regression test for various power expressions with a zero
Previous:From: User MhaDate: 2008-05-08 19:31:55
Subject: pginstaller - web: Move the running on native windows FAQ to the wiki.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group