Skip to main content

Module protocol

Module protocol 

Source
Expand description

PostgreSQL frontend/backend protocol, version 3.

Messages are length-prefixed and big-endian. Frontend messages are built into a Buffer; backend messages are parsed by Backend::parse.

Structs§

Buffer
A frontend message under construction.
Field
One column’s metadata from a RowDescription.
ServerError
An error or notice sent by the server.

Enums§

Authentication
Backend
A message received from the server.
TransactionStatus

Constants§

PROTOCOL_VERSION
The protocol version in the startup packet: major 3, minor 0.
SSL_REQUEST_CODE
The version field of an SSLRequest: 1234 in the high half, 5679 in the low.