Crate sqlx_postgres
source ·Expand description
PostgreSQL database driver.
Re-exports§
pub use types::PgHasArrayType;
Modules§
- Conversions between Rust and Postgres types.
Structs§
- A mutex-like type utilizing Postgres advisory locks.
- A wrapper for
PgConnection
(or a similar type) that represents a held Postgres advisory lock. - Implementation of
Arguments
for PostgreSQL. - Options and flags which can be used to configure a PostgreSQL connection.
- A connection to a PostgreSQL database.
- A connection in streaming
COPY FROM STDIN
mode. - An error returned from the PostgreSQL database.
- A stream of asynchronous notifications from Postgres.
- An asynchronous notification from Postgres.
- Implementation of
Row
for PostgreSQL. - Implementation of [
TransactionManager
] for PostgreSQL. - Type information for a PostgreSQL type.
- Implementation of
Value
for PostgreSQL. - Implementation of
ValueRef
for PostgreSQL. - PostgreSQL database driver.
Enums§
- A key type natively used by Postgres advisory locks.
- Options for controlling the level of protection provided for PostgreSQL SSL connections.
Traits§
- An alias for
Executor<'_, Database = Postgres>
. - Implements methods for directly executing
COPY FROM/TO STDOUT
on aPgPool
.
Type Aliases§
- An alias for
Pool
, specialized for Postgres. - An alias for
PoolOptions
, specialized for Postgres.