View Source WalEx.Postgres.Decoder (WalEx v2.0.0)
Link to this section Summary
Functions
Parses logical replication messages from Postgres
Link to this section Functions
Parses logical replication messages from Postgres
examples
Examples
iex> decode_message(<<73, 0, 0, 96, 0, 78, 0, 2, 116, 0, 0, 0, 3, 98, 97, 122, 116, 0, 0, 0, 3, 53, 54, 48>>)
%WalEx.Postgres.Decoder.Messages.Insert{relation_id: 24576, tuple_data: {"baz", "560"}}