aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-02-09 15:49:57 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-02-09 15:50:16 -0500
commit5d2adf0f81a2e4ca4f101b19b1efea147b462301 (patch)
treeda2ef398d7c86dc9a3e83a3b6253f732a533746f /src/backend/access/transam/xlogutils.c
parent806091c96f9b81f7631e4e37a05af377b473b5da (diff)
downloadpostgresql-5d2adf0f81a2e4ca4f101b19b1efea147b462301.tar.gz
postgresql-5d2adf0f81a2e4ca4f101b19b1efea147b462301.zip
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.
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions