Skip to main content

Module messages

Module messages 

Source
Expand description

pgoutput message types — high-level structs decoded from the wire.

Structs§

Begin
Decoded BEGIN message.
ColumnDesc
One column descriptor inside a Relation message.
Commit
Decoded COMMIT message.
Delete
Decoded DELETE message.
Insert
Decoded INSERT message.
Relation
Decoded RELATION message — registers a relation OID and its column layout.
Truncate
Decoded TRUNCATE message — may target several relations at once.
TupleData
Decoded TupleData — one row’s worth of cells.
Update
Decoded UPDATE message.

Enums§

DeleteOldKind
What kind of “old tuple” the DELETE carries.
Message
One fully-decoded pgoutput message.
MessageKind
pgoutput message kind byte (the first byte of every payload).
ReplicaIdentity
REPLICA IDENTITY setting reported in each Relation message.
TupleCell
Decoded TupleData column entry (one cell of a row).
UpdateOldKind
What kind of “old tuple” precedes the UPDATE’s NEW tuple (if any).