agentultra / postgresql-replicant

A streaming PostgreSQL logical replication client library for Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for ORIGIN messages

agentultra opened this issue · comments

Handle ORIGIN messages so we know where changes came from upstream in a cluster setting

https://www.postgresql.org/docs/14/protocol-logicalrep-message-formats.html

wal2json supports adding this data with a config option.

We need an example of what this looks like in the wal2json change messages