Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The script checks whether the dump file exists to avoid running pg_dump twice. The check always passes because there is an empty file created by mktemp therefore pg_dump is never run and the resulting dump is always an empty file. Fix the issue by creating an temporary directory where the dump file will be created by pg_dump so the "dump file exists" check works as intended.
- Loading branch information