- Notifications
You must be signed in to change notification settings - Fork5
Commit68dabab
committed
plperl: Correctly handle empty arrays in plperl_ref_from_pg_array.
plperl_ref_from_pg_array() didn't consider the case that postgrs arrayscan have 0 dimensions (when they're empty) and accessed the firstdimension without a check. Fix that by special casing the empty arraycase.Author: Alex HunsakerReported-By: Andres Freund / valgrind / buildfarm animal skinkDiscussion: 20160308063240.usnzg6bsbjrne667@alap3.anarazel.deBackpatch: 9.1-1 parentbfb6686 commit68dabab
1 file changed
+20
-9
lines changedLines changed: 20 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1450 | 1450 |
| |
1451 | 1451 |
| |
1452 | 1452 |
| |
1453 |
| - | |
1454 |
| - | |
1455 |
| - | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
1456 | 1463 |
| |
1457 |
| - | |
1458 |
| - | |
1459 |
| - | |
1460 |
| - | |
1461 |
| - | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
1462 | 1469 |
| |
1463 |
| - | |
| 1470 | + | |
| 1471 | + | |
1464 | 1472 |
| |
1465 | 1473 |
| |
1466 | 1474 |
| |
| |||
1479 | 1487 |
| |
1480 | 1488 |
| |
1481 | 1489 |
| |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
1482 | 1493 |
| |
1483 | 1494 |
| |
1484 | 1495 |
| |
|
0 commit comments
Comments
(0)