forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit30bcebb
committed
Allow negative years in make_date to represent BC years
There doesn't seem to be any reason not to allow negative years to beinterpreted as BC, so do that.The documentation is pretty vague on the details of this function, sonothing needs to change there.Reported-by: Andy Abelisto, in bug #144461 parent8b07aee commit30bcebb
3 files changed
+16
-8
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
252 | 252 |
| |
253 | 253 |
| |
254 | 254 |
| |
| 255 | + | |
255 | 256 |
| |
256 | 257 |
| |
257 | 258 |
| |
258 | 259 |
| |
259 | 260 |
| |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
265 | 269 |
| |
266 | 270 |
| |
267 | 271 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1454 | 1454 |
| |
1455 | 1455 |
| |
1456 | 1456 |
| |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
1457 | 1463 |
| |
1458 | 1464 |
| |
1459 | 1465 |
| |
| |||
1467 | 1473 |
| |
1468 | 1474 |
| |
1469 | 1475 |
| |
1470 |
| - | |
1471 |
| - | |
1472 | 1476 |
| |
1473 | 1477 |
| |
1474 | 1478 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
338 | 338 |
| |
339 | 339 |
| |
340 | 340 |
| |
| 341 | + | |
341 | 342 |
| |
342 | 343 |
| |
343 | 344 |
| |
344 | 345 |
| |
345 | 346 |
| |
346 |
| - | |
347 | 347 |
| |
348 | 348 |
|
0 commit comments
Comments
(0)