Crate mz_pgwire_common
source ·Expand description
Common PostgreSQL network (“wire”) protocol logic.
Modules§
- codec 🔒Encoding/decoding of messages in pgwire. See “Frontend/Backend Protocol: Message Formats” in the PostgreSQL reference for the specification.
- conn 🔒
- format 🔒
- message 🔒
- severity 🔒
Structs§
- Handle to an open connection, allows us to maintain a count of all connections.
- Decodes data within pgwire messages.
- Metadata about a user that is required to allocate a
ConnectionHandle
.
Enums§
- The encoding format for a
mz_pgrepr::Value
. - A decoded frontend pgwire message, representing instructions for the backend.
- Like
FrontendMessage
, but only the messages that can occur during startup protocol negotiation.
Constants§
- Maximum allowed size for a request.
Traits§
Functions§
- Constructs an error indicating that the client has violated the pgwire protocol.