agentultra/postgresql-replicant

Handle CopyOutDone

agentultra opened this issue · 0 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.