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

be carefull about create publication #2286

Open
shagho opened this issue Nov 25, 2024 · 1 comment
Open

be carefull about create publication #2286

shagho opened this issue Nov 25, 2024 · 1 comment
Assignees

Comments

@shagho
Copy link

shagho commented Nov 25, 2024

I had some issue for selecting tables in CDC mirror. if you select a partitioned table from postgres source, and do this instruction CREATE PUBLICATION peerdb_publication FOR ALL TABLES; from tutorial, you didn't receive any data from root partitioned table. because this instruction just add unpartitioned tables. for add partitioned table, you can use this instruction CREATE PUBLICATION "pub" FOR TABLE "partitioned_table" WITH (publish_via_partition_root = true);

@Amogh-Bharadwaj
Copy link
Contributor

Thanks for flagging! We will add this to our docs
We have a PR out there in this direction: PeerDB-io/docs#189

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

No branches or pull requests

2 participants