Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbbef913

Browse files
committed
Quote pathnames so pg_standby works with paths that have
spaces in them.ISHIDA Akio
1 parent5aaf09a commitbbef913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/pg_standby/pg_standby.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ int restoreCommandType;
6969
intnextWALFileType;
7070

7171
#defineSET_RESTORE_COMMAND(cmd,arg1,arg2) \
72-
snprintf(restoreCommand, MAXPGPATH, cmd "%s %s", arg1, arg2)
72+
snprintf(restoreCommand, MAXPGPATH, cmd "\"%s\" \"%s\"", arg1, arg2)
7373

7474
structstatstat_buf;
7575

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp