VARUX AXIS Deterministic PostgreSQL Write-Path Control
v0.6 · Pilot Readiness
AXIS Documentation / Integration / ORM & Extended Query

ORM & Extended Query

psycopg3 · asyncpg · Prisma · pgJDBC single-statementExtended Query planned

The HTTP path is the production integration today. Native wire protocol and Extended Query (parameterized statements) are separate roadmaps; this page states what is verified with real drivers and what remains planned.

SQLAlchemy adapter (v1)

AxisRoutingSession is a routing session adapter for the HTTP path: writes route through AXIS, reads go direct. It is a v1 adapter, not a universal ORM solution — not every ORM query shape is guaranteed to map cleanly, and raw writes must be policy-visible.

Real driver verification matrix

DriverModeResult
psycopg3single-statement via AXIS37 passed (2026-07-05)
asyncpgsingle-statement via AXIS37 passed (2026-07-05)
Prismasingle-statement via AXIS37 passed (2026-07-05)
pgJDBCsingle-statement via AXIS37 passed (2026-07-05)
pgJDBCbatch (extended protocol)Not supportedPIPELINING_SUPPORT=false, fail-closed
COPY (any driver)copy modeFail-closed — blocked unless explicitly approved; COPY PROGRAM always blocked

These tests are lab results from the integration test suite; they prove single-statement enforcement through AXIS with real drivers, not universal ORM compatibility.

Extended Query (EQ) roadmap

Parameterized statements (Extended Query protocol) are planned, not shipped. The lab POC implements Simple Query (Q messages) with direct text and is documented as experimental.

ItemStatus
Q (Simple Query) intercept & enforceExperimental lab POC
P/B/E (Parse/Bind/Execute) interceptionPlanned (EQ0–EQ5)
Bind-value inspection for fail-closed classificationPlanned
EQ required before OLTP pilotDocumented requirement (RFC-032 context)

Fail-closed behavior for unsupported shapes

Do not build production data paths on the wire-protocol POC. Extended Query, COPY and batch support are not complete; current OLTP pilots must use the HTTP path with single statements.

Related: Native PG Wire Protocol · API Reference · Testing & Verification