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:21:55 -0700 |
commit | 1ab07198363744eea5620d964570e674dc7eeb52 (patch) | |
tree | 260e3520ca8f1b45a9f326a69f81e3e9cc1535cf /src/backend/utils/adt/jsonpath_exec.c | |
parent | 9a01ea73dac662019677e982999712acd6c1f899 (diff) | |
download | postgresql-1ab07198363744eea5620d964570e674dc7eeb52.tar.gz postgresql-1ab07198363744eea5620d964570e674dc7eeb52.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 'src/backend/utils/adt/jsonpath_exec.c')
0 files changed, 0 insertions, 0 deletions