-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add support for decoding built-in types from the replication stream #1
Comments
Hey @imor, Im working on a project for which I want to use I took a look around the codebase as well as the Diesel essentially wraps the raw pgoutput bytes in a Since those trait implementations parse the raw bytes, it seems like most of the Love the project, keep up the good work! |
Your ideas are directionally correct. Just want to point out that apart from Apart from the conversions themselves you might face another hurdle if you are implementing a custom sink. Methods in the |
Yes I noticed pretty early there were two converters to handle 😅 Quick question about this, is there a reason why the input of both converters is different? As in, why are the bytes in On the |
The reason for two separate code paths for decoding tuple values is because they are coming in from two different operations. When we want to replicate a table we want two things: the data in the table as it exists right now and any changes to the table data as they happen in realtime. The
PRs are always welcome to make the code better :) |
fix: remove binary option which is unsupported in pg<14
Support built-in types from the following table: https://www.postgresql.org/docs/current/datatype.html#DATATYPE-TABLE
The text was updated successfully, but these errors were encountered: