pgsql: Deal with paths containing \ and spaces in basebackup_to_shell t

2022-07-18 Thread Andres Freund
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. Reviewe

pgsql: Deal with paths containing \ and spaces in basebackup_to_shell t

2022-07-18 Thread Andres Freund
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. Reviewe