mod auth_types;
mod auto_mode;
pub mod branch_sql;
mod builder;
mod cancel;
mod connection;
mod copy;
mod core;
mod cursor;
#[cfg(test)]
mod driver_tests;
pub mod explain;
pub(crate) mod extended_flow;
mod fetch;
#[cfg(all(feature = "enterprise-gssapi", target_os = "linux"))]
pub mod gss;
mod io;
pub mod io_backend;
pub mod notification;
mod ops;
mod pipeline;
mod pool;
mod prepared;
mod query;
mod replication;
pub mod rls;
mod row;
mod stream;
mod transaction;
mod types;
#[cfg(all(target_os = "linux", feature = "io_uring"))]
mod uring;
pub use auth_types::{
AuthSettings, ConnectOptions, EnterpriseAuthMechanism, GssEncMode, GssTokenProvider,
GssTokenProviderEx, GssTokenRequest, ScramChannelBindingMode, TlsMode,
};
pub use auto_mode::{AutoCountPath, AutoCountPlan};
pub use builder::PgDriverBuilder;
pub use cancel::CancelToken;
pub use connection::{PgConnection, TlsConfig};
pub use core::PgDriver;
pub use notification::Notification;
pub use pipeline::AstPipelineMode;
pub use pool::{
PgPool, PoolConfig, PoolStats, PooledConnection, ScopedPoolFuture, scope,
spawn_pool_maintenance,
};
pub use prepared::{PreparedAstQuery, PreparedStatement};
pub use replication::{
IdentifySystem, ReplicationKeepalive, ReplicationOption, ReplicationSlotInfo,
ReplicationStreamMessage, ReplicationStreamStart, ReplicationXLogData,
};
pub use rls::RlsContext;
pub use row::QailRow;
pub use types::{
ColumnInfo, PgBytesRow, PgError, PgResult, PgRow, PgServerError, QueryResult, ResultFormat,
};
pub(crate) use connection::{CANCEL_REQUEST_CODE, parse_affected_rows};
pub(crate) use types::{
is_ignorable_session_message, is_ignorable_session_msg_type, unexpected_backend_message,
unexpected_backend_msg_type,
};