diff --git a/postgres/src/error.rs b/postgres/src/error.rs index 7f291ecf..8fbdd7c1 100644 --- a/postgres/src/error.rs +++ b/postgres/src/error.rs @@ -4,7 +4,7 @@ use std::io; use std::error; #[doc(inline)] -pub use postgres_shared::error::*; +pub use postgres_shared::error::{DbError, ConnectError, ErrorPosition, Severity, SqlState}; /// An error encountered when communicating with the Postgres server. #[derive(Debug)] diff --git a/postgres/src/params.rs b/postgres/src/params.rs index 3a00b853..eb521f10 100644 --- a/postgres/src/params.rs +++ b/postgres/src/params.rs @@ -1,3 +1,3 @@ //! Connection parameters -pub use postgres_shared::params::*; \ No newline at end of file +pub use postgres_shared::params::{Builder, ConnectParams, User, Host, IntoConnectParams};