mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Quote pathnames so pg_standby works with paths that have
spaces in them. ISHIDA Akio
This commit is contained in:
parent
5aaf09ac46
commit
bbef913250
@ -69,7 +69,7 @@ int restoreCommandType;
|
||||
int nextWALFileType;
|
||||
|
||||
#define SET_RESTORE_COMMAND(cmd, arg1, arg2) \
|
||||
snprintf(restoreCommand, MAXPGPATH, cmd " %s %s", arg1, arg2)
|
||||
snprintf(restoreCommand, MAXPGPATH, cmd " \"%s\" \"%s\"", arg1, arg2)
|
||||
|
||||
struct stat stat_buf;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user