mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03: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…
x
Reference in New Issue
Block a user