Skip to content

Issue in the example of logical replication #76

Description

Hello,
I have looked at the examples provided, and a line is unclear to me.
https://github.com/jackc/pglogrepl/blob/master/example/pglogrepl_demo/main.go#L129

Whenever we receive a keep-alive message, we move the client's WAL position to the current end of WAL on the server.
This does not seem right.
Could you please comment on that? Maybe I am missing something.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions