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

Use psycopg2 instead of shell commands #2

Merged
merged 9 commits into from
Jul 31, 2022
Merged

Use psycopg2 instead of shell commands #2

merged 9 commits into from
Jul 31, 2022

Conversation

mixxorz
Copy link
Owner

@mixxorz mixxorz commented Jul 31, 2022

Replace shell commands with direct calls to the database via psycopg2.

This is so that you don't have to install the postgres client binaries to use DSLR.

You'd still need to install it of you want to use export and import though as those rely on pg_dump and pg_restore.

@mixxorz mixxorz merged commit c8af0a8 into main Jul 31, 2022
@mixxorz mixxorz deleted the feature/psycopg2 branch July 31, 2022 16:04
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

Successfully merging this pull request may close these issues.

1 participant