agentultra / postgresql-replicant

A streaming PostgreSQL logical replication client library for Haskell
BSD 3-Clause "New" or "Revised" License
38 stars 3 forks source link

Add the next LSN to the return type of the callback action #13

Closed agentultra closed 3 years ago

agentultra commented 3 years ago

By returning the "next LSN" of the change to replicant we update the stream state and assume the change has been committed.

Add changeNextLSN to Replicant export list

Also update the haddocks for the Change type and Replicant module exports list.

Update README.md

Add information about the changes to the callback and updating the stream state.