Remove CopyOutResponse case

You can't cncel a CopyOut.
This commit is contained in:
Steven Fackler
2015-12-06 23:34:52 -08:00
parent 2b7323c05e
commit 458e7466b4

View File

@@ -799,8 +799,7 @@ impl InnerConnection {
})
.collect());
}
CopyInResponse { .. } |
CopyOutResponse { .. } => {
CopyInResponse { .. } => {
try!(self.write_messages(&[CopyFail {
message: "COPY queries cannot be directly \
executed",