-
Notifications
You must be signed in to change notification settings - Fork 30
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 decoding / streaming replication #19
Comments
Yes, that would be very cool. I don’t have any strict plans for this library other than making it easy to build Postgres extensions in Rust. There’s still a lot of conversion routines etc to build, so you may have a lot of work to achieve this. |
I found this today, haven't looked into it besides reading the readme, but it seems like this might be exactly that use case? https://github.com/instructure/jsoncdc |
looks that way. It looks like they're building directly on top of the FFI, rather than trying to use generic wrappers like |
Hey @bluejekyll, would you be able to provide some guidance on how would I start implementing(https://www.postgresql.org/docs/11/logicaldecoding-output-plugin.html) using this lib? |
It looks like we need a way to define In addition to that, it looks like a lot of C ffi functions would be declared for the callbacks. |
Do you consider Logical Decoding / Streaming Replication a goal of this library? I'm not 100% sure yet, but I might try a stab of implementing something similar as wal2json in rust. Would you be interested in a PR to add the necessary interface definitions etc. and maybe an example?
The text was updated successfully, but these errors were encountered: