Available on crate features
source-postgres-cdc and source-rest only.Expand description
pgoutput wire-format decoder — turns raw bytes into Message values.
Structs§
- Primary
Keep Alive - PrimaryKeepAlive message (CopyData discriminator
'k'). - XLog
Data Header - XLogData envelope header that precedes every pgoutput payload coming over
the COPY BOTH stream (after the leading
'w'byte stripped by the caller).
Functions§
- decode_
message - Decode a single pgoutput message from the start of
buf.