Crate postgres_sync

Source
Expand description

A synchronous, drop-in replacement for the postgres crate.

This crate provides a compatible API but uses standard library networking instead of tokio.

For detailed documentation on individual functions and types, please refer to the original postgres crate documentation.

Note: postgres_sync implements a subset of the postgres API. If you find a feature in the postgres docs, it may not yet be implemented in this crate.

Re-exports§

pub use fallible_iterator;
pub use postgres_types as types;

Structs§

Client
Config
DbError
NoTls
Row
RowIter
Transaction

Enums§

ErrorPosition

Traits§

BorrowToSql
A trait used by clients to abstract over &dyn ToSql and T: ToSql.
FromSql
A trait for types that can be created from a Postgres value.
RowIndex
ToSql
A trait for types that can be converted into Postgres values.

Type Aliases§

Error