WalEx.Adapters.Postgres.Decoder (WalEx v0.7.1) View Source

Link to this section Summary

Functions

Parses logical replication messages from Postgres

Link to this section Functions

Parses logical replication messages from Postgres

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.Adapters.Postgres.Decoder.Messages.Insert{relation_id: 24576, tuple_data: {"baz", "560"}}