Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 46d0db2

Browse files
author
Arthur Zakirov
committed
Fix building for pg9.5
1 parent a864374 commit 46d0db2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2560,9 +2560,9 @@ StreamLog(void *arg)
25602560
#endif
25612561
}
25622562
#else
2563-
if(ReceiveXlogStream(stream_arg->conn, startpos, starttli, NULL, basedir,
2564-
stop_streaming, standby_message_timeout, NULL,
2565-
false, false) == false)
2563+
if(ReceiveXlogStream(stream_arg->conn, startpos, starttli, NULL,
2564+
(char *) stream_arg->basedir, stop_streaming,
2565+
standby_message_timeout, NULL, false, false) == false)
25662566
elog(ERROR, "Problem in receivexlog");
25672567
#endif
25682568

0 commit comments

Comments
 (0)