diff options
author | Andres Freund <andres@anarazel.de> | 2022-07-18 10:14:43 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-07-18 10:32:15 -0700 |
commit | a91242b1bcb312d6f482a758a432a32bd375896e (patch) | |
tree | 99717514372c10680039d69351ad7676e31d564a /contrib/postgres_fdw/postgres_fdw.h | |
parent | 0df4eb3f708626ba3b0fdfab5afccf785e5e945c (diff) | |
download | postgresql-a91242b1bcb312d6f482a758a432a32bd375896e.tar.gz postgresql-a91242b1bcb312d6f482a758a432a32bd375896e.zip |
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 <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/ce1b6eb3-5736-6f38-9775-b7020128b8d8@enterprisedb.com
Backpatch: 15-, where the test was added in 027fa0fd726
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.h')
0 files changed, 0 insertions, 0 deletions