- Notifications
You must be signed in to change notification settings - Fork5
Commitdf3a6fe
committed
Fix psql's \copy command to ensure that it cycles libpq back to the idle state
(in particular, causing the ReadyForQuery message to be eaten) beforereturning from do_copy. The only known consequence of failing to do so isthat get_prompt might show a wrong result for the %x transaction statusescape, as reported by Bernd Helmle; but it's possible there are other issues.Back-patch as far as 7.4, the oldest version supporting %x.1 parent9b15b14 commitdf3a6fe
1 file changed
+13
-1
lines changedLines changed: 13 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 |
| |
| |||
598 | 598 |
| |
599 | 599 |
| |
600 | 600 |
| |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
601 | 613 |
| |
602 | 614 |
| |
603 | 615 |
| |
|
0 commit comments
Comments
(0)