- Notifications
You must be signed in to change notification settings - Fork5
Commitc3e7c24
committed
libpq: Notice errors a backend may have sent just before dying.
At least since the introduction of Hot Standby, the backend hassometimes sent fatal errors even when no client query was inprogress, assuming that the client would receive it. However,pqHandleSendFailure was not in sync with this assumption, andonly tries to catch notices and notifies. Add a parseInput callto the loop there to fix.Andres Freund suggested the fix. Comments are by me.Reviewed by Michael Paquier.1 parentac1d794 commitc3e7c24
1 file changed
+8
-8
lines changedLines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1553 | 1553 |
| |
1554 | 1554 |
| |
1555 | 1555 |
| |
1556 |
| - | |
1557 |
| - | |
| 1556 | + | |
| 1557 | + | |
1558 | 1558 |
| |
1559 | 1559 |
| |
1560 | 1560 |
| |
1561 | 1561 |
| |
1562 | 1562 |
| |
1563 | 1563 |
| |
1564 | 1564 |
| |
1565 |
| - | |
1566 |
| - | |
1567 |
| - | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
1568 | 1568 |
| |
1569 | 1569 |
| |
1570 |
| - | |
| 1570 | + | |
1571 | 1571 |
| |
1572 | 1572 |
| |
1573 |
| - | |
1574 |
| - | |
| 1573 | + | |
| 1574 | + | |
1575 | 1575 |
| |
1576 | 1576 |
| |
1577 | 1577 |
| |
|
0 commit comments
Comments
(0)