agentultra / postgresql-replicant

A streaming PostgreSQL logical replication client library for Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle CopyOutDone

agentultra opened this issue · comments

As per the documentation on the START_REPLICATION command, we need to handle the case where the server ends the COPY mode. We should also exit the COPY mode, check for the result tuples and start a new replication stream.