More float test and portability fixes.

Andrew Gierth <rhodiumtoad@postgresql.org>

Commit: da6520be7f946f5f0f8fe46c34e303d1d36ee080
Author: Andrew Gierth <rhodiumtoad@postgresql.org>
Date: 2019-02-13T19:35:50Z
Releases: 12.0
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.)

Files

PathChange+/−
src/common/d2s.c modified +1 −1
src/common/f2s.c modified +1 −1
src/test/regress/expected/tstypes.out modified +34 −32
src/test/regress/sql/tstypes.sql modified +3 −0