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

Started by Bruce Momjianabout 18 years ago3 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

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)

#2Andrew Dunstan
andrew@dunslane.net
In reply to: Bruce Momjian (#1)
Re: pgsql: Add regression test for various power expressions with a zero

Do you intend to adjust all the other float8*.out files? This test has
broken the buildfarm for quite a number of machines.

cheers

andrew

Bruce Momjian wrote:

Show quoted text

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)

#3Bruce Momjian
bruce@momjian.us
In reply to: Andrew Dunstan (#2)
Re: pgsql: Add regression test for various power expressions with a zero

Andrew Dunstan wrote:

Do you intend to adjust all the other float8*.out files? This test has
broken the buildfarm for quite a number of machines.

Thanks, done.

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

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