Deal with paths containing \ and spaces in basebackup_to_shell tests As $gzip is embedded in postgresql.conf \ needs to be escaped, otherwise guc.c will take it as a string escape. Similarly, if "$gzip" contains spaces, the prior incantation will fail. Both of these are common on windows.
Reviewed-by: Peter Eisentraut <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch: 15-, where the test was added in 027fa0fd726 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1ab07198363744eea5620d964570e674dc7eeb52 Modified Files -------------- contrib/basebackup_to_shell/t/001_basic.pl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
