Skip to content

0.1.0

Choose a tag to compare

@zaiev zaiev released this 05 Oct 11:04
· 73 commits to main since this release

First release.

  • Protocol 3.0 and 3.2 over TCP, Unix sockets and TLS, with multi-host failover, load balancing and target_session_attrs.
  • Sign-in by SCRAM-SHA-256 with channel binding, MD5, client certificates, trust, and a cleartext password inside TLS only, held to require_auth.
  • libpq's connection strings, both forms, with the PG* variables and .pgpass on request.
  • Statements cached, pipelined and batched in one round trip, with text or binary results.
  • Cells read as OCaml values, text or binary alike: dates and instants as Ptime values, uuids as Uuidm.t, intervals as their months, days and microseconds, and the whole of an int8 as an int64.
  • COPY in and out, streamed.
  • LISTEN/NOTIFY with heartbeats and reconnection.
  • A timeout on every wait for the server, and a running statement cancelled at the server.
  • A connection pool that lends every connection in a clean state, shared by borrowers on every domain.
  • Every failure a value: a result with a variant error, never an exception.