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

Logical Replication Support #339

Closed
wants to merge 6 commits into from
Closed

Logical Replication Support #339

wants to merge 6 commits into from

Conversation

waratuman
Copy link
Contributor

I'm currently building a data streaming system and would like to use the streaming replication protocol.

The biggest change would be the addition of PGRES_COPY_BOTH in the pgconn_get_last_result function, marking it as an empty result. Otherwise fetching a result would never return since it would be expecting a result to come in.

The PG::LogicalReplication may not be the best spot for this code and am happy to take it out.

@larskanis
Copy link
Collaborator

I agree to the changes to pgconn_get_last_result() , but can you please explain why you want to add PG::LogicalReplication to this gem? I think it's better shipped it in a separate gem.

@waratuman
Copy link
Contributor Author

Yeah, I was leaning towards removing it before I submitted the PR. The code was just there since that was my end goal and what I wanted tested.

I just removed it.

Thank you!

@larskanis larskanis closed this in ed6d2b3 Aug 4, 2020
@larskanis
Copy link
Collaborator

I merged this. Thank you!

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

Successfully merging this pull request may close these issues.

None yet

2 participants