Wiki / Protocol Messages
Protocol Messages
Compare versionsFrontend/backend message directions, wire fields and same-version protocol definitions.
Reading PostgreSQL 18.6.
73 entries; 72 recorded in PostgreSQL 18.6.
-
AuthenticationCleartextPassword Backend messages
AuthenticationCleartextPassword is a backend protocol message. Identifies the message as an authentication request.
-
AuthenticationGSS Backend messages
AuthenticationGSS is a backend protocol message. Identifies the message as an authentication request.
-
AuthenticationGSSContinue Backend messages
AuthenticationGSSContinue is a backend protocol message. Identifies the message as an authentication request.
-
AuthenticationKerberosV5 Backend messages
AuthenticationKerberosV5 is a backend protocol message. Identifies the message as an authentication request.
-
AuthenticationMD5Password Backend messages
AuthenticationMD5Password is a backend protocol message. Identifies the message as an authentication request.
-
AuthenticationOk Backend messages
AuthenticationOk is a backend protocol message. Identifies the message as an authentication request.
-
AuthenticationSASL Backend messages
AuthenticationSASL is a backend protocol message. Identifies the message as an authentication request.
-
AuthenticationSASLContinue Backend messages
AuthenticationSASLContinue is a backend protocol message. Identifies the message as an authentication request.
-
AuthenticationSASLFinal Backend messages
AuthenticationSASLFinal is a backend protocol message. Identifies the message as an authentication request.
-
Not recorded in the selected version.
-
AuthenticationSSPI Backend messages
AuthenticationSSPI is a backend protocol message. Identifies the message as an authentication request.
-
BackendKeyData Backend messages
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.
-
BindComplete Backend messages
BindComplete is a backend protocol message. Identifies the message as a Bind-complete indicator.
-
CloseComplete Backend messages
CloseComplete is a backend protocol message. Identifies the message as a Close-complete indicator.
-
CommandComplete Backend messages
CommandComplete is a backend protocol message. Identifies the message as a command-completed response.
-
CopyBothResponse Backend messages
CopyBothResponse is a backend protocol message. Identifies the message as a Start Copy Both response. This message is used only for Streaming Replication.
-
CopyInResponse Backend messages
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 Backend messages
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 Backend messages
DataRow is a backend protocol message. Identifies the message as a data row.
-
EmptyQueryResponse Backend messages
EmptyQueryResponse is a backend protocol message. Identifies the message as a response to an empty query string. (This substitutes for CommandComplete.)
-
ErrorResponse Backend messages
ErrorResponse is a backend protocol message. Identifies the message as an error.
-
FunctionCallResponse Backend messages
FunctionCallResponse is a backend protocol message. Identifies the message as a function call result.
-
NegotiateProtocolVersion Backend messages
NegotiateProtocolVersion is a backend protocol message. Identifies the message as a protocol version negotiation message.
-
NoData Backend messages
NoData is a backend protocol message. Identifies the message as a no-data indicator.
-
NoticeResponse Backend messages
NoticeResponse is a backend protocol message. Identifies the message as a notice.
-
NotificationResponse Backend messages
NotificationResponse is a backend protocol message. Identifies the message as a notification response.
-
ParameterDescription Backend messages
ParameterDescription is a backend protocol message. Identifies the message as a parameter description.
-
ParameterStatus Backend messages
ParameterStatus is a backend protocol message. Identifies the message as a run-time parameter status report.
-
ParseComplete Backend messages
ParseComplete is a backend protocol message. Identifies the message as a Parse-complete indicator.
-
PortalSuspended Backend messages
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.
-
ReadyForQuery Backend messages
ReadyForQuery is a backend protocol message. Identifies the message type. ReadyForQuery is sent whenever the backend is ready for a new query cycle.
-
RowDescription Backend messages
RowDescription is a backend protocol message. Identifies the message as a row description.
-
CopyData Bidirectional messages
CopyData is a bidirectional protocol message. Identifies the message as COPY data.
-
CopyDone Bidirectional messages
CopyDone is a bidirectional protocol message. Identifies the message as a COPY -complete indicator.
-
Bind Frontend messages
Bind is a frontend protocol message. Identifies the message as a Bind command.
-
CancelRequest Frontend messages
CancelRequest is a frontend protocol message. Length of message contents in bytes, including self.
-
Close Frontend messages
Close is a frontend protocol message. Identifies the message as a Close command.
-
CopyFail Frontend messages
CopyFail is a frontend protocol message. Identifies the message as a COPY -failure indicator.
-
Describe Frontend messages
Describe is a frontend protocol message. Identifies the message as a Describe command.
-
Execute Frontend messages
Execute is a frontend protocol message. Identifies the message as an Execute command.
-
Flush Frontend messages
Flush is a frontend protocol message. Identifies the message as a Flush command.
-
FunctionCall Frontend messages
FunctionCall is a frontend protocol message. Identifies the message as a function call.
-
GSSENCRequest Frontend messages
GSSENCRequest is a frontend protocol message. Length of message contents in bytes, including self.
-
GSSResponse Frontend messages
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.
-
Parse Frontend messages
Parse is a frontend protocol message. Identifies the message as a Parse command.
-
PasswordMessage Frontend messages
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.
-
Query Frontend messages
Query is a frontend protocol message. Identifies the message as a simple query.
-
SASLInitialResponse Frontend messages
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 Frontend messages
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 Frontend messages
SSLRequest is a frontend protocol message. Length of message contents in bytes, including self.
-
StartupMessage Frontend messages
StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.
-
Sync Frontend messages
Sync is a frontend protocol message. Identifies the message as a Sync command.
-
Terminate Frontend messages
Terminate is a frontend protocol message. Identifies the message as a termination.
-
Begin (logical replication) Logical replication formats
Logical replication Begin format. Identifies the message as a begin message.
-
Begin Prepare (logical replication) Logical replication formats
Logical replication Begin Prepare format. Identifies the message as the beginning of a prepared transaction message.
-
Commit (logical replication) Logical replication formats
Logical replication Commit format. Identifies the message as a commit message.
-
Commit Prepared (logical replication) Logical replication formats
Logical replication Commit Prepared format. Identifies the message as the commit of a prepared transaction message.
-
Delete (logical replication) Logical replication formats
Logical replication Delete format. Identifies the message as a delete message.
-
Insert (logical replication) Logical replication formats
Logical replication Insert format. Identifies the message as an insert message.
-
Message (logical replication) Logical replication formats
Logical replication Message format. Identifies the message as a logical decoding message.
-
Origin (logical replication) Logical replication formats
Logical replication Origin format. Identifies the message as an origin message.
-
Prepare (logical replication) Logical replication formats
Logical replication Prepare format. Identifies the message as a prepared transaction message.
-
Relation (logical replication) Logical replication formats
Logical replication Relation format. Identifies the message as a relation message.
-
Rollback Prepared (logical replication) Logical replication formats
Logical replication Rollback Prepared format. Identifies the message as the rollback of a prepared transaction message.
-
Stream Abort (logical replication) Logical replication formats
Logical replication Stream Abort format. Identifies the message as a stream abort message.
-
Stream Commit (logical replication) Logical replication formats
Logical replication Stream Commit format. Identifies the message as a stream commit message.
-
Stream Prepare (logical replication) Logical replication formats
Logical replication Stream Prepare format. Identifies the message as a stream prepared transaction message.
-
Stream Start (logical replication) Logical replication formats
Logical replication Stream Start format. Identifies the message as a stream start message.
-
Stream Stop (logical replication) Logical replication formats
Logical replication Stream Stop format. Identifies the message as a stream stop message.
-
Truncate (logical replication) Logical replication formats
Logical replication Truncate format. Identifies the message as a truncate message.
-
TupleData (logical replication) Logical replication formats
Logical replication TupleData format. Number of columns.
-
Type (logical replication) Logical replication formats
Logical replication Type format. Identifies the message as a type message.
-
Update (logical replication) Logical replication formats
Logical replication Update format. Identifies the message as an update message.
RecordedFirst recordedInterface or attribute changeNo longer recorded
Squares indicate presence in sampled builds, not first introduction. Select a square for the same-version definition and sources.
Changes in PostgreSQL 18.6 · Export JSON
Reading this collection
Frontend/backend messages and logical-replication payload formats have separate identities. Complete definitions preserve conditional and repeating fields. Field-table positions are not byte offsets; flow sections describe valid exchanges.