Expand description
PostgreSQL database driver.
Re-exports§
- pub use types::PgHasArrayType;
Modules§
- types
- Conversions between Rust and Postgres types.
Structs§
- PgAdvisoryLock 
- A mutex-like type utilizing Postgres advisory locks.
- PgAdvisoryLock Guard 
- A wrapper for PgConnection(or a similar type) that represents a held Postgres advisory lock.
- PgArgumentBuffer 
- PgArguments
- Implementation of Argumentsfor 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 STDINmode.
- 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 Rowfor PostgreSQL.
- PgStatement
- PgTransactionManager 
- Implementation of TransactionManagerfor PostgreSQL.
- PgTypeInfo 
- Type information for a PostgreSQL type.
- PgValue
- Implementation of Valuefor PostgreSQL.
- PgValueRef 
- Implementation of ValueReffor PostgreSQL.
- Postgres
- PostgreSQL database driver.
Enums§
- PgAdvisoryLock Key 
- A key type natively used by Postgres advisory locks.
- PgErrorPosition 
- PgSeverity
- PgSslMode 
- Options for controlling the level of protection provided for PostgreSQL SSL connections.
- PgTypeKind 
- PgValueFormat 
Traits§
- PgBindIter Ext 
- Iterator extension trait enabling iterators to encode arrays in Postgres.
- PgExecutor
- An alias for Executor<'_, Database = Postgres>.
- PgPoolCopy Ext 
- Implements methods for directly executing COPY FROM/TO STDOUTon aPgPool.
Type Aliases§
- PgPool
- An alias for Pool, specialized for Postgres.
- PgPoolOptions 
- An alias for PoolOptions, specialized for Postgres.
- PgTransaction
- An alias for Transaction, specialized for Postgres.