-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check and adapt to the version of pg_dump and pg_dumpall
When pg_dump/all is older than 9.3 pass the connection string as environment variables instead of using -d which does not exist. Also, fail when the user asks for the directory format and pg_dump does not know it (<9.1). For other unknown parameters (-j and -B) ignore them with a warning if pg_dump is too old.
- Loading branch information
Showing
2 changed files
with
122 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters