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

source-postgres - Streams not in the CDC publication still have a cursor and PK #38303

Merged
merged 5 commits into from
May 16, 2024

Conversation

evantahler
Copy link
Contributor

@evantahler evantahler commented May 16, 2024

Closes https://github.com/airbytehq/airbyte-internal-issues/issues/7777

When using CDC replication with postgres, only tables included in the publication are allowed to be incremental. We correctly disable incremental syncs for tables that are not in the publication, as we won't get CDC events for them. But, we were also stripping the information about source-defined primary keys from these tables, which isn't necessary.

Copy link

vercel bot commented May 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview May 16, 2024 10:57pm

@octavia-squidington-iii octavia-squidington-iii added area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/postgres labels May 16, 2024
@evantahler evantahler marked this pull request as ready for review May 16, 2024 23:13
@evantahler evantahler requested a review from a team as a code owner May 16, 2024 23:13
Copy link
Contributor

@xiaohansong xiaohansong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@evantahler evantahler merged commit 49fc60d into master May 16, 2024
33 checks passed
@evantahler evantahler deleted the evan/cdc-pk-no-publication branch May 16, 2024 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/postgres
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants