pgsql: More float test and portability fixes.

From: Andrew Gierth <rhodiumtoad(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: More float test and portability fixes.
Date: 2019-02-13 19:46:27
Message-ID: E1gu0UF-0006LN-NG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

More float test and portability fixes.

Avoid assuming exact results in tstypes test; some platforms vary.
(per buildfarm members eulachon, danio, lapwing)

Avoid dubious usage (inherited from upstream) of bool parameters to
copy_special_str, to see if this fixes the mac/ppc failures (per
buildfarm members prariedog and locust). (Isolated test programs on a
ppc mac don't seem to show any other cause that would explain them.)

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/da6520be7f946f5f0f8fe46c34e303d1d36ee080

Modified Files
--------------
src/common/d2s.c | 2 +-
src/common/f2s.c | 2 +-
src/test/regress/expected/tstypes.out | 66 ++++++++++++++++++-----------------
src/test/regress/sql/tstypes.sql | 3 ++
4 files changed, 39 insertions(+), 34 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2019-02-13 20:39:44 pgsql: Add -mpopcnt to all compiles of pg_bitutils.c
Previous Message Alvaro Herrera 2019-02-13 19:16:37 pgsql: Add basic support for using the POPCNT and SSE4.2s LZCNT opcodes