-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
- Add a parameter to define that path of the temporary file (for push and pull), something like
--path-tempfile, the default should be the current place of the tempfile which is ".divio/local_db.sql". Not to be confused with the --dumpfile which allows you to specify an already existing dump to use for pushing. - The dumpfile is generated when pushing the database. However, when placing the temp file (not when reading it!) the path separator is not "/" but "ॐ" instead. This means that the file is placed in ".divioॐlocal_db.sql" and read from ".divio/local_db.sql", which fails. This issue does not happen when pulling.
- So for some reason, only when dumping the local database into a file, the "ॐ" character is used for the file path. We currently assume that this is an encoding issue of running the pg_dump command in a linux container on a windows host and pg_dump is doing something wrong for some reason in this situation in the way it writes the file. We dont think that python is building the path it provides to pg_dump wrongly because the same file path is used for reading the file later and this is done correctly.
Metadata
Metadata
Assignees
Labels
No labels