Skip to content
This repository was archived by the owner on May 12, 2020. It is now read-only.

Support exporting dumps with custom user-defined CLI args #162

Closed
wants to merge 2 commits into from

Conversation

rm3l
Copy link
Contributor

@rm3l rm3l commented Apr 2, 2019

Hi there!

My use case is to export without owner or privileges statements, and also to export to a directory instead of a SQL file. But I notice the PostgresProcess#export*ToFile utility methods do not support such capabilities, unlike what is done in the PostgresProcess#importFromFileWithArgs method.

This PR attempts to generalize that idea by supporting any user-defined custom arguments, provided they are compliant with the already existing default options passed to pg_dump.

Thanks.

@rm3l
Copy link
Contributor Author

rm3l commented Apr 7, 2019

Closing since the changes I proposed here are actually covered by #151 (which is yet to be merged)

@rm3l rm3l closed this Apr 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant