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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid using platform-dependent floats in test case.
Date: 2016-10-26 11:17:36
Message-ID: E1bzMDA-0004cI-5Q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2016-10-26 11:45:21 pgsql: Only treat Python Lists as array dimensions.
Previous Message Dave Page 2016-10-26 08:47:10 Re: pgsql: Use OpenSSL EVP API for symmetric encryption in pgcrypto.