NEW RasterizedDB 1.1.0 is out: sharding and the gateway, the message broker, roles and row-level security, compression, .NET on NuGet, and the enterprise edition. What's new ›
PROTOCOLS · POSTGRESQL

psql, every driver, every ORM.

The PostgreSQL wire protocol is RasterizedDB's first language: simple and extended query protocols, bound parameters, COPY, LISTEN/NOTIFY and EXPLAIN, with SCRAM-SHA-256 over TLS by default.

1 / 3

What drivers see

  • 40 PostgreSQL types, each with its real wire OID
  • information_schema and pg_catalog for introspection: psql \d works
  • Prepared statements with a parse cache and learned plans
  • COPY in and out, LISTEN/NOTIFY, EXPLAIN
  • Row locks: FOR UPDATE, FOR SHARE, SKIP LOCKED, NOWAIT
  • PostgreSQL's SQLSTATEs on every error
2 / 3

PostgreSQL's limits and timeouts, by the same names

Over max_connections a client gets 53300, as from PostgreSQL. The server raises its own file-descriptor limit to fit, or lowers max_connections and says so, rather than failing inside admitted sessions.

shell
--max-connections 500
--authentication-timeout 60s
--idle-in-transaction-session-timeout 0
--idle-session-timeout 0
--pg-auth scram-sha-256 --pg-tls require
3 / 3

Measured against PostgreSQL itself

A differential harness runs the same statements against PostgreSQL 17 and compares the answers byte for byte. Where an answer differs on purpose, the compatibility notes say why.

shell
psql "postgresql://superuser:<password>@127.0.0.1:5432/postgres"
✓ page rendered in 95 µs axum + tera + htmx · no other javascript