summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs_new.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-04-04 16:15:04 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-04-04 16:15:04 -0400
commitcb917e1544612c187c74fed1a990e26820514c8a (patch)
tree03a1fca64bb18de79f698864ca0037d0f43dc8a5 /src/tutorial/funcs_new.c
parentc17e863bc7677a54d6da5bbb2868cca2cd9b30c1 (diff)
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.
Diffstat (limited to 'src/tutorial/funcs_new.c')
0 files changed, 0 insertions, 0 deletions