Common PostgreSQL network (“wire”) protocol logic.
- Decodes data within pgwire messages.
- The encoding format for a
- A decoded frontend pgwire message, representing instructions for the backend.
FrontendMessage, but only the messages that can occur during startup protocol negotiation.
- Maximum allowed size for a request.
- Constructs an error indicating that the client has violated the pgwire protocol.