Content-Length: 257067 | pFad | http://github.com/postgrespro/postgres/commit/6b700301c36e380eb4972ab72c0e914cae60f9fd

75 Fix wrong merge resolution making pg_receivexlog fail in 9.2. · postgrespro/postgres@6b70030 · GitHub
Skip to content

Commit 6b70030

Browse files
committed
Fix wrong merge resolution making pg_receivexlog fail in 9.2.
I bungled resolving a conflict while backpatching 2c0a485 to 9.2, by passing mark_done = true to ReceiveXlogStream in pg_receivexlog.c (all the other branches are ok). Since pg_receivexlog doesn't use a archive directory that causes 'could not create archive status file "...": No such file or directory' errors. Until 9.2.11 is released this can be worked around by creating 'archive_directory' in pg_receivexlog's target directory. Found by Sergey Konoplev.
1 parent 3913b89 commit 6b70030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_basebackup/pg_receivexlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ StreamLog(void)
321321
progname, startpos.xlogid, startpos.xrecoff, timeline);
322322

323323
ReceiveXlogStream(conn, startpos, timeline, NULL, basedir,
324-
stop_streaming, standby_message_timeout, false, true);
324+
stop_streaming, standby_message_timeout, false, false);
325325

326326
PQfinish(conn);
327327
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/6b700301c36e380eb4972ab72c0e914cae60f9fd

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy