Commit bbef9132 authored by Magnus Hagander's avatar Magnus Hagander

Quote pathnames so pg_standby works with paths that have

spaces in them.

ISHIDA Akio
parent 5aaf09ac
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment