pqi-native

pqi-native

A pqi adapter that speaks the PostgreSQL frontend/backend wire protocol directly, with no dependency on the C libpq library. The transport layer (framing, message serialization/deserialization, socket I/O) is isolated in an internal transport sub-library built on ptr-poker and ptr-peeker; the public library is an abstraction over it that builds the pqi Adapter.

Status: Alpha. Verified byte-for-byte against postgresql-libpq via a differential conformance suite, but not yet proven in production. It implements the same pqi interface as pqi-ffi, the stable C-backed adapter, so the two are fully interchangeable - swapping between them is a one-line Adapter change.

Modules

pqi-native-1.0.1.3