From d12b01ab895710913f2f96ada0da6b7018c93b41 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 28 Nov 2015 21:20:52 -0800 Subject: [PATCH] Handle copy out in quick_query --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index b26f7c85..4d762a1c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -800,7 +800,8 @@ impl InnerConnection { }) .collect()); } - CopyInResponse { .. } => { + CopyInResponse { .. } | + CopyOutResponse { .. } => { try!(self.write_messages(&[CopyFail { message: "COPY queries cannot be directly \ executed",