| Crates.io | pg_async |
| lib.rs | pg_async |
| version | 0.8.8 |
| created_at | 2016-12-26 15:21:42.335435+00 |
| updated_at | 2026-01-15 17:29:45.417716+00 |
| description | Asynchronous, HA (master-master) PostgreSQL driver on top of libpq |
| homepage | |
| repository | https://github.com/ArtemGr/pg_async.rs |
| max_upload_size | |
| id | 7783 |
| size | 91,818 |
Asynchronous, HA (master-master) PostgreSQL driver on top of libpq.
libpq, leveraging it's asynchronous support.SELECT 1) to see who's closer/faster.futures.futures are backed by a thread or two and can be used without a tokio reactor (because KISS).Future allows the driver to cancel it.The combination of libpq and OpenSSL doesn't work very well during PostgreSQL server restarts. I've seen libpq SEGV-crash reliably when the OpenSSL layer is enabled. For the driver to properly work around PostgreSQL server unavailability and restarts I recommend adding the "sslmode=disable" disabler to the connection strings.