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

Pass --clean to pg_dump to avoid failure later when importing dump #64

Closed
wants to merge 1 commit into from

Conversation

sauliusgrigaitis
Copy link
Contributor

Pass --clean to pg_dump to avoid failure later when importing dump with user that doesn't have permission to drop/create database. Solves #40

…th user that doesn't have permission to drop/create database
@numbata
Copy link
Collaborator

numbata commented Sep 9, 2015

@sauliusgrigaitis nice PR 👍
can you rebase your branch from sgruhier/master?

@sauliusgrigaitis
Copy link
Contributor Author

@numbata it actually doesn't work that well. If there are extra tables in current database that are not dropped/created in new dump then it obviously doesn't drop those tables. I'll get back to this issue at some point.

@sauliusgrigaitis
Copy link
Contributor Author

#79 Does it way better.

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.

2 participants