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

[Feature Request] Add option to show missing tables #237

Open
magixus opened this issue Jan 3, 2025 · 0 comments
Open

[Feature Request] Add option to show missing tables #237

magixus opened this issue Jan 3, 2025 · 0 comments

Comments

@magixus
Copy link

magixus commented Jan 3, 2025

pgsync will tell you missing tables in the output

Example:
image

To show a list of different tables. comparing the missing ones from source in target, it would be much appreciate it if we can do

pgsync --list --diff

Since --schema-first & --schema-only wipes out the existing data in target DB, and pgsync will not sync data if target tables are missing it will make sense to be able to do

pgsync --schema-first $(pgsync --list --diff)
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

1 participant