Skip to main content

Module server

Module server 

Source
Expand description

PostgreSQL wire-protocol listener (Phase 3.1 PG parity).

Accepts TCP connections from PG-compatible clients, drives the startup handshake, and routes simple/extended-query frames into the existing RedDBRuntime::execute_query path. Results are adapted back into PG RowDescription + DataRow frames via types::value_to_pg_wire_bytes.

Structs§

PgWireConfig
Startup-tuned configuration for the PG wire listener.

Functions§

start_pg_wire_listener
Spawn the PG wire listener. Blocks until the listener errors out. Each connection is handled in its own tokio task.