From 5c462bd3500e657c014ef087e4eef2c1a8f0ebda Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Thu, 2 Nov 2023 16:17:24 +0100 Subject: [PATCH] make CopyBothDuplex struct `pub` This is useful / needed to build a Rust client for the Pageserver's GetPage@LSN API, which uses CopyBoth mode. --- tokio-postgres/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tokio-postgres/src/lib.rs b/tokio-postgres/src/lib.rs index 1e173ece5..86a8f7ec3 100644 --- a/tokio-postgres/src/lib.rs +++ b/tokio-postgres/src/lib.rs @@ -124,6 +124,7 @@ pub use crate::cancel_token::CancelToken; pub use crate::client::Client; pub use crate::config::Config; pub use crate::connection::Connection; +pub use crate::copy_both::CopyBothDuplex; pub use crate::copy_in::CopyInSink; pub use crate::copy_out::CopyOutStream; use crate::error::DbError;