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-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.
Phase 3.1 intentionally supports only the simple-query subset; extended query (Parse/Bind/Execute) arrives in 3.1.x once the prepared-statement registry is reusable from this layer.
Structs§
- PgWire
Config - 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.