-
Notifications
You must be signed in to change notification settings - Fork 839
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
PostgreSQL CDC Plugin #2917
base: main
Are you sure you want to change the base?
PostgreSQL CDC Plugin #2917
Conversation
2b958eb
to
0418bcf
Compare
Simplify the internal flow control of the logical stream by just returning and handling errors at the top level.
|
||
// Subsequent characters must be letters, numbers, underscores, or dots | ||
for i, char := range name { | ||
if !unicode.IsLetter(char) && !unicode.IsDigit(char) && char != '_' && char != '.' { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't a dot the delimiter for schema.table? Any concerns there?
Wonderful work here @le-vlad - I ran the integration tests and they are really good so thanks for those 👍 I think this is good to go pending any other feedback from the rest of the team. I will followup this change with some modifications to the message format and removing the "wait for ack" step in the unbuffered handler. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, can one of you stick an entry in the CHANGELOG.md pls?
Done! I also snuck in another changelog entry |
PR has changed substantially and all feedback has been addressed
Added:
Support for PostgreSQL versions (17,....10)
pg_create_logical_replication_slot
instead ofCREATE_REPLICATION_SLOT
Replication monitoring
Stream uncommitted changes
stream_uncommitted
flag for use withpgoutput
pluginwal2json
, which sends updates with LSN of committed transactionsConfigurable decoding plugin
decoding_plugin
option to specify plugin for streaming datawal2json
orpgoutput
Temporary replication slots
temporary_slot
setting to create temporary slotsComprehensive integration tests for various scenarios