Thread: pgsql: More float test and portability fixes.

pgsql: More float test and portability fixes.

From
Andrew Gierth
Date:
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(-)