diff --git a/src/lib.rs b/src/lib.rs index 731eaa5f..6205b999 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -799,8 +799,7 @@ impl InnerConnection { }) .collect()); } - CopyInResponse { .. } | - CopyOutResponse { .. } => { + CopyInResponse { .. } => { try!(self.write_messages(&[CopyFail { message: "COPY queries cannot be directly \ executed",