Expand description
Async PostgreSQL connection implementation.
This module implements an async PostgreSQL connection using asupersync’s TCP
primitives. It provides a shared wrapper that implements sqlmodel-core’s
Connection trait.
The implementation currently focuses on:
- Async connect + authentication (cleartext, MD5, SCRAM-SHA-256)
- Extended query protocol for parameterized queries
- Row decoding via the postgres type registry (OID + text/binary format)
- Basic transaction support (BEGIN/COMMIT/ROLLBACK + savepoints)
Structs§
- PgAsync
Connection - Async PostgreSQL connection.
- Shared
PgConnection - Shared, cloneable PostgreSQL connection with interior mutability.
- Shared
PgTransaction