postgresql/src
Tom Lane 452b637d4b Adjust new test case for more portability.
Early returns from the buildfarm say that most critters are good with
commit cbdb8b4c0, but gaur gives unexpected results with the test case
involving a float8 that's one-ULP-less-than-2^63.  It appears that that
platform's version of rint() rounds that value up to 2^63 instead of
leaving it be.  This is possibly a bug, and it's also possible that no
other platform anybody is using anywhere behaves likewise.  Still, the
point of the test is not to insist that everybody's rint() behaves exactly
the same.  Let's use two-ULPs-less-than-2^63 instead, which I've tested
to act the same on gaur as on more modern hardware.

(This is, more or less, exactly the portability issue I'd feared might
arise...)

Discussion: https://postgr.es/m/15519-4fc785b483201ff1@postgresql.org
2018-11-23 23:49:25 -05:00
..
backend Fix float-to-integer coercions to handle edge cases correctly. 2018-11-23 20:57:11 -05:00
bin Rework the pgbench state machine code for clarity 2018-11-21 16:33:53 -03:00
common Make spelling of "acknowledgment" consistent 2018-10-15 10:06:45 +02:00
fe_utils Fix realfailN lexer rules to not make assumptions about input format. 2018-11-13 14:54:41 -05:00
include Add WL_EXIT_ON_PM_DEATH pseudo-event. 2018-11-23 20:46:34 +13:00
interfaces Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
makefiles Refactor installation of extension headers. 2018-09-07 14:19:14 +01:00
pl Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
port Disable MSVC warning caused by recent snprintf.c changes 2018-11-10 20:20:54 -05:00
template Yet further rethinking of build changes for macOS Mojave. 2018-11-02 18:54:00 -04:00
test Adjust new test case for more portability. 2018-11-23 23:49:25 -05:00
timezone Sync our copy of the timezone library with IANA release tzcode2018g. 2018-10-31 09:47:53 -04:00
tools Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
tutorial Deduplicate "invalid input syntax" messages for various types. 2018-07-22 14:58:01 -07:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Remove useless symbol from Makefile.global. 2018-11-06 10:57:51 -05:00
Makefile.shlib Don't build static libraries on Cygwin 2018-10-02 16:46:57 -04:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00