Escaping logic in pg_dump_command option breaks on spaces #822
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
Broken off from #810 discussion:
When using a command in the
pg_dump_command
option that contains spaces, the new escaping logic added as part of #810 causes an invalid command to be executed.Steps to reproduce
Configure an option value for
pg_dump_command
similar to the example:Then run a
create
action.Actual behavior
Expected behavior
The
pg_dump_command
runs without error.Other notes / implementation ideas
Probably a good idea to audit other database command options for similar breakage.
borgmatic version
1.8.7
borgmatic installation method
No response
Borg version
No response
Python version
No response
Database version (if applicable)
No response
Operating system and version
No response
Fixed in main!
Released in borgmatic 1.8.8!