forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita6a95d4
committed
Fix thinkos from4f4061b for libpq integer parsing
A check was redundant. While on it, add an assertion to make sure thatthe parsing routine is never called with a NULL input. All the codepaths currently calling the parsing routine are careful with NULL inputsalready, but future callers may forget that.Reported-by: Peter Eisentraut, Lars KanisDiscussion:https://postgr.es/m/ec64956b-4597-56b6-c3db-457d15250fe4@2ndquadrant.comBackpatch-through: 121 parent399b8d1 commita6a95d4
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1663 | 1663 |
| |
1664 | 1664 |
| |
1665 | 1665 |
| |
| 1666 | + | |
| 1667 | + | |
1666 | 1668 |
| |
1667 | 1669 |
| |
1668 | 1670 |
| |
| |||
1680 | 1682 |
| |
1681 | 1683 |
| |
1682 | 1684 |
| |
1683 |
| - | |
| 1685 | + | |
1684 | 1686 |
| |
1685 | 1687 |
| |
1686 |
| - | |
| 1688 | + | |
1687 | 1689 |
| |
1688 | 1690 |
| |
1689 | 1691 |
| |
|
0 commit comments
Comments
(0)