mirror of https://github.com/postgres/postgres
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