Skip to main content

Module pgoutput

Module pgoutput 

Source
Expand description

Decoder for the CopyBoth payloads of logical replication: XLogData / keepalive framing and the pgoutput protocol version 1 message set.

Byte layouts follow docs/protocol-reference.md. Tuple values are zero-copy slices of the incoming buffer.

Enums§

LogicalMessage
pgoutput message.
ReplicationMessage
Outer replication message.

Functions§

decode
decode_logical
encode_standby_status
Encode a standby status update ('r').