- Notifications
You must be signed in to change notification settings - Fork5
Commite605fbc
committed
Try to defend against the possibility that libpq is still in COPY_IN state
when we reach the post-COPY "pump it dry" error recovery code that was added2006-11-24. Per a report from Neil Best, there is at least one code pathin which this occurs, leading to an infinite loop in code that's supposedto be making it more robust not less so. A reasonable response seems to beto call PQputCopyEnd() again, so let's try that.Back-patch to all versions that contain the cleanup loop.1 parent87740ca commite605fbc
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
571 | 571 |
| |
572 | 572 |
| |
573 | 573 |
| |
| 574 | + | |
| 575 | + | |
| 576 | + | |
574 | 577 |
| |
575 | 578 |
| |
576 | 579 |
| |
|
0 commit comments
Comments
(0)