Handle copy out in quick_query

This commit is contained in:
Steven Fackler 2015-11-28 21:20:52 -08:00
parent 1aabcdbb2a
commit d12b01ab89

View File

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