Skip to content

Commit d12b01a

Browse files
committed
Handle copy out in quick_query
1 parent 1aabcdb commit d12b01a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,8 @@ impl InnerConnection {
800800
})
801801
.collect());
802802
}
803-
CopyInResponse { .. } => {
803+
CopyInResponse { .. } |
804+
CopyOutResponse { .. } => {
804805
try!(self.write_messages(&[CopyFail {
805806
message: "COPY queries cannot be directly \
806807
executed",

0 commit comments

Comments
 (0)