postgresql/src/backend/utils
Tom Lane 86ef376bbe Blind try to fix portability issue in commit 8f93bd851 et al.
The S/390 members of the buildfarm are showing failures indicating
that they're having trouble with the rint() calls I added yesterday.
There's no good reason for that, and I wonder if it is a compiler bug
similar to the one we worked around in d9476b838.  Try to fix it using
the same method as before, namely to store the result of rint() back
into a "double" variable rather than immediately converting to int64.
(This isn't entirely waving a dead chicken, since on machines with
wider-than-double float registers, the extra store forces a width
conversion.  I don't know if S/390 is like that, but it seems worth
trying.)

In passing, merge duplicate ereport() calls in float8_timestamptz().

Per buildfarm.
2017-02-09 15:49:58 -05:00
..
adt Blind try to fix portability issue in commit 8f93bd851 et al. 2017-02-09 15:49:58 -05:00
cache Avoid returning stale attribute bitmaps in RelationGetIndexAttrBitmap(). 2017-02-06 13:20:23 -05:00
error Be more careful to not lose sync in the FE/BE protocol. 2015-02-02 17:09:46 +02:00
fmgr Properly install dynloader.h on MSVC builds 2016-01-19 23:30:29 -05:00
hash pgindent run for 9.4 2014-05-06 12:12:18 -04:00
init Fix typos in comments. 2017-02-06 11:34:24 +02:00
mb Add KOI8-U map files to Makefile. 2017-02-02 14:14:01 +02:00
misc Fix typos in comments. 2017-02-06 11:34:24 +02:00
mmgr Fix subtransaction cleanup after an outer-subtransaction portal fails. 2015-09-04 13:37:17 -04:00
resowner pgindent run for 9.4 2014-05-06 12:12:18 -04:00
sort Fix bogus "out of memory" reports in tuplestore.c. 2015-08-04 18:18:46 -04:00
time Fix typos in comments. 2017-02-06 11:34:24 +02:00
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
errcodes.txt Update copyright for 2014 2014-01-07 16:05:30 -05:00
Gen_dummy_probes.pl Remove dependency on psed for MSVC builds. 2016-03-19 18:49:19 -04:00
Gen_dummy_probes.sed Update copyright for 2014 2014-01-07 16:05:30 -05:00
Gen_fmgrtab.pl Update copyright for 2014 2014-01-07 16:05:30 -05:00
generate-errcodes.pl Update copyright for 2014 2014-01-07 16:05:30 -05:00
Makefile Make handling of errcodes.h more consistent with other generated headers. 2011-02-04 09:29:10 -05:00
probes.d Fix build with LWLOCK_STATS or dtrace. 2014-03-21 23:26:34 +01:00