Expand description
PostgreSQL Wire Protocol Messages
Implementation of the PostgreSQL Frontend/Backend Protocol. Reference: https://www.postgresql.org/docs/current/protocol-message-formats.html
Split into sub-modules:
types— message enums, structs, and error typesfrontend—FrontendMessageencoder (client → server)backend—BackendMessagedecoder (server → client)
Structs§
- Error
Fields - Error fields from ErrorResponse
- Field
Description - Field description in RowDescription
Enums§
- Backend
Message - Backend (server → client) message types
- Frontend
Encode Error - Frontend
Message - Frontend (client → server) message types
- Transaction
Status - Transaction status
Constants§
- PROTOCOL_
VERSION_ 3_ 0 - PostgreSQL protocol 3.0 (legacy baseline).
- PROTOCOL_
VERSION_ 3_ 2 - PostgreSQL protocol 3.2 (new default request).