pgsql: Avoid using platform-dependent floats in test case. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Avoid using platform-dependent floats in test case.
Date
Msg-id E1bzMDA-0004cI-5Q@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Avoid using platform-dependent floats in test case.
List pgsql-committers
Avoid using platform-dependent floats in test case.

The number of decimals printed for floats varied in this test case, as
noted by several buildfarm members. There's nothing special about floats
and arrays in the code being tested, so replace the floats with numerics to
make the output platform-independent.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/73c8e8506cd1933ccf5c5d61088ca171a5f414c0

Modified Files
--------------
src/pl/plpython/expected/plpython_types.out   | 19 ++++---------------
src/pl/plpython/expected/plpython_types_3.out | 19 ++++---------------
src/pl/plpython/sql/plpython_types.sql        | 11 ++---------
3 files changed, 10 insertions(+), 39 deletions(-)


pgsql-committers by date:

Previous
From: Dave Page
Date:
Subject: Re: pgsql: Use OpenSSL EVP API for symmetric encryption in pgcrypto.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Only treat Python Lists as array dimensions.