pgsql: More float test and portability fixes. - Mailing list pgsql-committers

From Andrew Gierth
Subject pgsql: More float test and portability fixes.
Date
Msg-id E1gu0UF-0006LN-NG@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Add basic support for using the POPCNT and SSE4.2s LZCNTopcodes
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Add -mpopcnt to all compiles of pg_bitutils.c