WalEx.Changes (WalEx v4.8.0)

Copy Markdown View Source

Internal change records produced after a logical replication transaction has been decoded and grouped by WalEx.Replication.Publisher.

A Transaction wraps an ordered list of per-row change records — one of NewRecord, UpdatedRecord, DeletedRecord, or TruncatedRelation. These are subsequently mapped into the user-facing WalEx.Event structs.

Summary

Types

Postgres LSN as {xlog_file, xlog_offset}.

Types

lsn()

@type lsn() :: {non_neg_integer(), non_neg_integer()}

Postgres LSN as {xlog_file, xlog_offset}.