PostgreSQL front-end
Connecting PostgreSQL clients (psql, JDBC) to Raft DB over the PostgreSQL protocol, and the SQL it understands. Privileges, COPY, PL/pgSQL, triggers, arrays, pg_dump, LISTEN/NOTIFY, MERGE, cursors, materialized views, intervals, time zones and full-text search with @@ work and are compared with a real PostgreSQL 18 on 52 test scripts; what is not supported is listed.
- Overview: What the PostgreSQL front-end is, how to start it and what to expect.
- Names and data types: Identifiers, schemas and the PostgreSQL data types and how each is stored.
- Statements and catalogs: The PostgreSQL statements, functions and catalogs that are translated, with how.
- Errors, refused statements and known differences: PostgreSQL error codes, what is refused and how the behaviour differs from a real PostgreSQL.
- The PostgreSQL protocol (raftdb-pgwire): The wire protocol crate: what it speaks, how it is tested.