agentultra / postgresql-replicant

A streaming PostgreSQL logical replication client library for Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot parse messages from pg_logical_emit_message

agentultra opened this issue · comments

These don't get sent with a nextlsn and result in the following error:

ReplicantException "handleReplicationRow (parse error): Error in $: key \"nextlsn\" not found"

Handling this message type can be really useful for applications!

This only happens when

select pg_logical_emit_message(false, 'Test', 'Boop');

Outside of a normal transaction in Postgres