forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit157349e
committed
Improper addition of NaN/Infinity recognition to float8in()
was causing it not to detect out-of-range float values, as evidenced byfailure of float8 regression test. I corrected that logic and alsomodified expected float8 results to account for new error messagegenerated for out-of-range inputs.1 parent598a4e1 commit157349e
File tree
2 files changed
+20
-8
lines changed- src
- backend/utils/adt
- test/regress/expected
2 files changed
+20
-8
lines changedLines changed: 16 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
209 | 209 |
| |
210 | 210 |
| |
211 | 211 |
| |
212 |
| - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
213 | 215 |
| |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
214 | 222 |
| |
215 | 223 |
| |
216 | 224 |
| |
| |||
262 | 270 |
| |
263 | 271 |
| |
264 | 272 |
| |
265 |
| - | |
266 |
| - | |
267 | 273 |
| |
268 | 274 |
| |
269 | 275 |
| |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
270 | 281 |
| |
271 | 282 |
| |
| 283 | + | |
272 | 284 |
| |
273 | 285 |
| |
274 | 286 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
209 | 209 |
| |
210 | 210 |
| |
211 | 211 |
| |
212 |
| - | |
| 212 | + | |
213 | 213 |
| |
214 |
| - | |
| 214 | + | |
215 | 215 |
| |
216 |
| - | |
| 216 | + | |
217 | 217 |
| |
218 |
| - | |
| 218 | + | |
219 | 219 |
| |
220 | 220 |
| |
221 | 221 |
| |
|
0 commit comments
Comments
(0)