Protocol Messages
Version coverage matrixDefinitions for PostgreSQL 18
Reading PG 18·Select a recorded version
AuthenticationCleartextPassword is a backend protocol message. Identifies the message as an authentication request.
AuthenticationGSS is a backend protocol message. Identifies the message as an authentication request.
AuthenticationGSSContinue is a backend protocol message. Identifies the message as an authentication request.
AuthenticationKerberosV5 is a backend protocol message. Identifies the message as an authentication request.
AuthenticationMD5Password is a backend protocol message. Identifies the message as an authentication request.
AuthenticationOk is a backend protocol message. Identifies the message as an authentication request.
AuthenticationSASL is a backend protocol message. Identifies the message as an authentication request.
AuthenticationSASLContinue is a backend protocol message. Identifies the message as an authentication request.
AuthenticationSASLFinal is a backend protocol message. Identifies the message as an authentication request.
AuthenticationSSPI is a backend protocol message. Identifies the message as an authentication request.
BackendKeyData is a backend protocol message. Identifies the message as cancellation key data. The frontend must save these values if it wishes to be able to issue CancelRequest messages later.
Logical replication Begin format. Identifies the message as a begin message.
Logical replication Begin Prepare format. Identifies the message as the beginning of a prepared transaction message.
Bind is a frontend protocol message. Identifies the message as a Bind command.
BindComplete is a backend protocol message. Identifies the message as a Bind-complete indicator.
CancelRequest is a frontend protocol message. Length of message contents in bytes, including self.
Close is a frontend protocol message. Identifies the message as a Close command.
CloseComplete is a backend protocol message. Identifies the message as a Close-complete indicator.
CommandComplete is a backend protocol message. Identifies the message as a command-completed response.
Logical replication Commit format. Identifies the message as a commit message.
Logical replication Commit Prepared format. Identifies the message as the commit of a prepared transaction message.
CopyBothResponse is a backend protocol message. Identifies the message as a Start Copy Both response. This message is used only for Streaming Replication.
CopyData is a bidirectional protocol message. Identifies the message as COPY data.
CopyDone is a bidirectional protocol message. Identifies the message as a COPY -complete indicator.
CopyFail is a frontend protocol message. Identifies the message as a COPY -failure indicator.
CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).
CopyOutResponse is a backend protocol message. Identifies the message as a Start Copy Out response. This message will be followed by copy-out data.
DataRow is a backend protocol message. Identifies the message as a data row.
Logical replication Delete format. Identifies the message as a delete message.
Describe is a frontend protocol message. Identifies the message as a Describe command.
EmptyQueryResponse is a backend protocol message. Identifies the message as a response to an empty query string. (This substitutes for CommandComplete.)
ErrorResponse is a backend protocol message. Identifies the message as an error.
Execute is a frontend protocol message. Identifies the message as an Execute command.
Flush is a frontend protocol message. Identifies the message as a Flush command.
FunctionCall is a frontend protocol message. Identifies the message as a function call.
FunctionCallResponse is a backend protocol message. Identifies the message as a function call result.
GSSENCRequest is a frontend protocol message. Length of message contents in bytes, including self.
GSSResponse is a frontend protocol message. Identifies the message as a GSSAPI or SSPI response. Note that this is also used for SASL and password response messages. The exact message type can be deduced from the context.
Logical replication Insert format. Identifies the message as an insert message.
Logical replication Message format. Identifies the message as a logical decoding message.
NegotiateProtocolVersion is a backend protocol message. Identifies the message as a protocol version negotiation message.
NoData is a backend protocol message. Identifies the message as a no-data indicator.
NoticeResponse is a backend protocol message. Identifies the message as a notice.
NotificationResponse is a backend protocol message. Identifies the message as a notification response.
Logical replication Origin format. Identifies the message as an origin message.
ParameterDescription is a backend protocol message. Identifies the message as a parameter description.
ParameterStatus is a backend protocol message. Identifies the message as a run-time parameter status report.
Parse is a frontend protocol message. Identifies the message as a Parse command.
ParseComplete is a backend protocol message. Identifies the message as a Parse-complete indicator.
PasswordMessage is a frontend protocol message. Identifies the message as a password response. Note that this is also used for GSSAPI, SSPI and SASL response messages. The exact message type can be deduced from the context.
PortalSuspended is a backend protocol message. Identifies the message as a portal-suspended indicator. Note this only appears if an Execute message's row-count limit was reached.
Logical replication Prepare format. Identifies the message as a prepared transaction message.
Query is a frontend protocol message. Identifies the message as a simple query.
ReadyForQuery is a backend protocol message. Identifies the message type. ReadyForQuery is sent whenever the backend is ready for a new query cycle.
Logical replication Relation format. Identifies the message as a relation message.
Logical replication Rollback Prepared format. Identifies the message as the rollback of a prepared transaction message.
RowDescription is a backend protocol message. Identifies the message as a row description.
SASLInitialResponse is a frontend protocol message. Identifies the message as an initial SASL response. Note that this is also used for GSSAPI, SSPI and password response messages. The exact message type is deduced from the context.
SASLResponse is a frontend protocol message. Identifies the message as a SASL response. Note that this is also used for GSSAPI, SSPI and password response messages. The exact message type can be deduced from the context.
SSLRequest is a frontend protocol message. Length of message contents in bytes, including self.
StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.
Logical replication Stream Abort format. Identifies the message as a stream abort message.
Logical replication Stream Commit format. Identifies the message as a stream commit message.
Logical replication Stream Prepare format. Identifies the message as a stream prepared transaction message.
Logical replication Stream Start format. Identifies the message as a stream start message.
Logical replication Stream Stop format. Identifies the message as a stream stop message.
Sync is a frontend protocol message. Identifies the message as a Sync command.
Terminate is a frontend protocol message. Identifies the message as a termination.
Logical replication Truncate format. Identifies the message as a truncate message.
Logical replication TupleData format. Number of columns.
Logical replication Type format. Identifies the message as a type message.
Logical replication Update format. Identifies the message as an update message.