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

pgsql: Add regression test for various power expressions with a zero

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add regression test for various power expressions with a zero
Date: 2008-05-08 22:17:54
Message-ID: 20080508221754.7A60A7559E9@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Add regression test for various power expressions with a zero base, and
adjust source code to be more modular.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        numeric.c (r1.111 -> r1.112)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/numeric.c?r1=1.111&r2=1.112)
    pgsql/src/test/regress/expected:
        float8.out (r1.25 -> r1.26)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/float8.out?r1=1.25&r2=1.26)
    pgsql/src/test/regress/sql:
        float8.sql (r1.15 -> r1.16)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/float8.sql?r1=1.15&r2=1.16)

Responses

pgsql-committers by date

Next:From: Bruce MomjianDate: 2008-05-08 22:18:00
Subject: Re: pgsql: Have numeric 0 ^ 4.3 return 1, rather than an error, and have 0 ^
Previous:From: Neil ConwayDate: 2008-05-08 21:00:35
Subject: Re: pgsql: Have numeric 0 ^ 4.3 return 1, rather thanan error, and have 0 ^

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