From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
Cc: | pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql: Avoid using platform-dependent floats in test case. |
Date: | 2016-10-26 13:42:03 |
Message-ID: | 17832.1477489323@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2016-10-26 14:02:40 | Re: pgsql: Avoid using platform-dependent floats in test case. |
Previous Message | Heikki Linnakangas | 2016-10-26 11:45:21 | pgsql: Only treat Python Lists as array dimensions. |