Commit cb917e1
committed
Remove useless PGRES_COPY_BOTH "support" in psql.
There is no existing or foreseeable case in which psql should see a
PGRES_COPY_BOTH PQresultStatus; and if such a case ever emerges, it's a
pretty good bet that these code fragments wouldn't do the right thing
anyway. Remove them, and let the existing default cases do the appropriate
thing, namely emit an "unexpected PQresultStatus" bleat.
Noted while working on libpq row processor patch, for which I was
considering adding a PGRES_SUSPENDED status code --- the same default-case
treatment would be appropriate for that.1 parent c17e863 commit cb917e1
1 file changed
+5
-19
lines changed| 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