pgoutput_decoder v0.1.0 PgoutputDecoder View Source

Documentation for PgoutputDecoder.

Link to this section Summary

Functions

Parses logical replication messages from Postgres pgoutput plugin

Link to this section Functions

Parses logical replication messages from Postgres pgoutput plugin

Examples

iex> PgoutputDecoder.decode_message(<<66, 0, 0, 0, 2, 167, 244, 168, 128, 0, 2, 48, 246, 88, 88, 213, 242, 0, 0, 2, 107>>)
%PgoutputDecoder.Messages.Begin{commit_timestamp: #DateTime<2019-07-18 17:02:35Z>, final_lsn: {2, 2817828992}, xid: 619}