Crate cdbc_pg

Source
Expand description

PostgreSQL database driver.

Re-exports§

pub extern crate cdbc;
pub use types::PgHasArrayType;

Modules§

types
Conversions between Rust and Postgres types.

Structs§

PgArgumentBuffer
PgArguments
Implementation of Arguments for PostgreSQL.
PgColumn
PgConnectOptions
Options and flags which can be used to configure a PostgreSQL connection.
PgConnection
A connection to a PostgreSQL database.
PgCopyIn
A connection in streaming COPY FROM STDIN mode.
PgDatabaseError
An error returned from the PostgreSQL database.
PgListener
A stream of asynchronous notifications from Postgres.
PgNotification
An asynchronous notification from Postgres.
PgQueryResult
PgRow
Implementation of Row for PostgreSQL.
PgStatement
PgTransactionManager
Implementation of [TransactionManager] for PostgreSQL.
PgTypeInfo
Type information for a PostgreSQL type.
PgValue
Implementation of Value for PostgreSQL.
PgValueRef
Implementation of ValueRef for PostgreSQL.
Postgres
PostgreSQL database driver.

Enums§

PgErrorPosition
PgSeverity
PgSslMode
Options for controlling the level of protection provided for PostgreSQL SSL connections.
PgTypeKind
PgValueFormat

Traits§

PgConnectionInfo
PgExecutor
An alias for Executor<'_, Database = Postgres>.

Type Aliases§

PgPool
An alias for [Pool][crate::pool::Pool], specialized for Postgres.
PgPoolOptions
An alias for [PoolOptions][crate::pool::PoolOptions], specialized for Postgres.