forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5d2adf0
committed
Blind try to fix portability issue in commit8f93bd8 et al.
The S/390 members of the buildfarm are showing failures indicatingthat 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 bugsimilar to the one we worked around ind9476b8. Try to fix it usingthe same method as before, namely to store the result of rint() backinto a "double" variable rather than immediately converting to int64.(This isn't entirely waving a dead chicken, since on machines withwider-than-double float registers, the extra store forces a widthconversion. I don't know if S/390 is like that, but it seems worthtrying.)In passing, merge duplicate ereport() calls in float8_timestamptz().Per buildfarm.1 parent806091c commit5d2adf0
1 file changed
+6
-8
lines changedLines changed: 6 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
773 | 773 |
| |
774 | 774 |
| |
775 | 775 |
| |
776 |
| - | |
777 |
| - | |
778 |
| - | |
779 |
| - | |
780 |
| - | |
781 |
| - | |
| 776 | + | |
| 777 | + | |
782 | 778 |
| |
783 | 779 |
| |
784 | 780 |
| |
| |||
788 | 784 |
| |
789 | 785 |
| |
790 | 786 |
| |
791 |
| - | |
| 787 | + | |
| 788 | + | |
792 | 789 |
| |
793 | 790 |
| |
794 | 791 |
| |
| |||
1624 | 1621 |
| |
1625 | 1622 |
| |
1626 | 1623 |
| |
| 1624 | + | |
1627 | 1625 |
| |
1628 | 1626 |
| |
1629 |
| - | |
| 1627 | + | |
1630 | 1628 |
| |
1631 | 1629 |
| |
1632 | 1630 |
| |
|
0 commit comments
Comments
(0)