Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please document the new replication API #283

Open
taspeotis opened this issue May 5, 2022 · 1 comment
Open

Please document the new replication API #283

taspeotis opened this issue May 5, 2022 · 1 comment
Milestone

Comments

@taspeotis
Copy link

Hi,

We have been using the logical replication feature with Npgsql 5.x quite successfully. The release notes for Npgsql 6.x say:

The logical replication API has been redone

As part of the redesign around logical replication support, some major changes to the API had to be done. Applications will have to be changed to use the new API.

It would be helpful if there was some documentation for this API, even a migration guide. I searched the manual and the best I could find is here which is for version 5 and doesn't compile with Npgsql 6.x.

A migration guide would be helpful since PgOutputReplicationOptions now expects a protocol version where previously none was required. I will read the Postgres manual to find out which version of replication is supported by my v13.6 instance but it would be nice if this change (and others) was covered.

I hope to use the logical replication API in Npgsql v6 as successfully as v5 ... I just need a little help.

Sorry if this information exists elsewhere and I have not found it.

Thank you for Npgsql.

@roji
Copy link
Member

roji commented May 5, 2022

/cc @Brar

Yeah, we should probably make sure at least the docs are up to date for 6.0... Note that the 6.0 API is pretty close to the 5.0 one - it should be easy to migrate.

In the meantime, the API docs as well as Intellisense should be helpful for understanding what the new API looks like.

@roji roji transferred this issue from npgsql/npgsql Mar 9, 2023
@roji roji added this to the 8.0.0 milestone Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants