diff --git a/tokio-postgres/src/copy_out.rs b/tokio-postgres/src/copy_out.rs index fca83188..52691b96 100644 --- a/tokio-postgres/src/copy_out.rs +++ b/tokio-postgres/src/copy_out.rs @@ -25,13 +25,11 @@ pub async fn copy_out(client: &InnerClient, statement: Statement) -> Result Result { let mut responses = client.send(RequestMessages::Single(FrontendMessage::Raw(buf)))?; - println!("a"); match responses.next().await? { Message::BindComplete => {} _ => return Err(Error::unexpected_message()), } - println!("b"); match responses.next().await? { Message::CopyOutResponse(_) => {} _ => return Err(Error::unexpected_message()), @@ -55,7 +53,6 @@ impl Stream for CopyOutStream { fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { let this = self.project(); - println!("c"); match ready!(this.responses.poll_next(cx)?) { Message::CopyData(body) => Poll::Ready(Some(Ok(body.into_bytes()))), Message::CopyDone => Poll::Ready(None),