pgsql: Fix wrong merge resolution making pg_receivexlog fail in 9.2.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix wrong merge resolution making pg_receivexlog fail in 9.2.
Date: 2015-02-17 15:05:11
Message-ID: E1YNji3-0003of-Qn@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix wrong merge resolution making pg_receivexlog fail in 9.2.

I bungled resolving a conflict while backpatching 2c0a48589 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.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6b700301c36e380eb4972ab72c0e914cae60f9fd

Modified Files
--------------
src/bin/pg_basebackup/pg_receivexlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2015-02-17 15:32:26 pgsql: Improve pg_check_dir code and comments.
Previous Message Bruce Momjian 2015-02-16 22:03:45 Re: pgsql: pg_upgrade: quote directory names in delete_old_cluster script