forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb212245
committed
In guc.c, ignore ERANGE errors from strtod().
Instead, just proceed with the infinity or zero result that it shouldreturn for overflow/underflow. This avoids a platform dependency,in that various versions of strtod are inconsistent about whether theysignal ERANGE for a value that's specified as infinity.It's possible this won't be enough to remove the buildfarm failureswe're seeing fromac75959, in which case I'll take out the infinitytest case that commit added. But first let's see if we can fix it.Discussion:https://postgr.es/m/E1h33xk-0001Og-Gs@gemulon.postgresql.org1 parent08cecfa commitb212245
1 file changed
+7
-5
lines changedLines changed: 7 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6240 | 6240 |
| |
6241 | 6241 |
| |
6242 | 6242 |
| |
6243 |
| - | |
6244 | 6243 |
| |
| 6244 | + | |
| 6245 | + | |
6245 | 6246 |
| |
6246 |
| - | |
6247 |
| - | |
6248 |
| - | |
6249 |
| - | |
| 6247 | + | |
| 6248 | + | |
| 6249 | + | |
| 6250 | + | |
| 6251 | + | |
6250 | 6252 |
| |
6251 | 6253 |
| |
6252 | 6254 |
| |
|
0 commit comments
Comments
(0)