forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcb917e1
committed
Remove useless PGRES_COPY_BOTH "support" in psql.
There is no existing or foreseeable case in which psql should see aPGRES_COPY_BOTH PQresultStatus; and if such a case ever emerges, it's apretty good bet that these code fragments wouldn't do the right thinganyway. Remove them, and let the existing default cases do the appropriatething, namely emit an "unexpected PQresultStatus" bleat.Noted while working on libpq row processor patch, for which I wasconsidering adding a PGRES_SUSPENDED status code --- the same default-casetreatment would be appropriate for that.1 parentc17e863 commitcb917e1
1 file changed
+5
-19
lines changedLines changed: 5 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
450 | 450 |
| |
451 | 451 |
| |
452 | 452 |
| |
453 |
| - | |
454 | 453 |
| |
455 | 454 |
| |
456 | 455 |
| |
| |||
673 | 672 |
| |
674 | 673 |
| |
675 | 674 |
| |
676 |
| - | |
677 |
| - | |
678 |
| - | |
679 |
| - | |
680 |
| - | |
681 |
| - | |
682 |
| - | |
683 |
| - | |
684 |
| - | |
685 |
| - | |
686 |
| - | |
687 |
| - | |
688 |
| - | |
689 |
| - | |
690 |
| - | |
691 |
| - | |
692 |
| - | |
693 | 675 |
| |
694 | 676 |
| |
695 | 677 |
| |
696 | 678 |
| |
697 | 679 |
| |
698 | 680 |
| |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
699 | 686 |
| |
700 | 687 |
| |
701 | 688 |
| |
| |||
817 | 804 |
| |
818 | 805 |
| |
819 | 806 |
| |
820 |
| - | |
821 | 807 |
| |
822 | 808 |
| |
823 | 809 |
| |
|
0 commit comments
Comments
(0)