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

From Tom Lane
Subject Re: pgsql: Avoid using platform-dependent floats in test case.
Date
Msg-id 17832.1477489323@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Avoid using platform-dependent floats in test case.  (Heikki Linnakangas <heikki.linnakangas@iki.fi>)
Responses Re: pgsql: Avoid using platform-dependent floats in test case.
List pgsql-committers
Heikki Linnakangas <heikki.linnakangas@iki.fi> writes:
> 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.

Numerics aren't entirely platform-independent in Python, either,
cf prairiedog.  Is it okay to use text?

            regards, tom lane


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Only treat Python Lists as array dimensions.
Next
From: Heikki Linnakangas
Date:
Subject: Re: pgsql: Avoid using platform-dependent floats in test case.