Re: pg_basebackup -x/X doesn't play well with archive_mode & wal_keep_segments - Mailing list pgsql-hackers

From Andres Freund
Subject Re: pg_basebackup -x/X doesn't play well with archive_mode & wal_keep_segments
Date
Msg-id 20150105123413.GC3370@awork2.anarazel.de
Whole thread Raw
In response to Re: pg_basebackup -x/X doesn't play well with archive_mode & wal_keep_segments  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: pg_basebackup -x/X doesn't play well with archive_mode & wal_keep_segments
List pgsql-hackers
On 2015-01-05 18:49:06 +0900, Fujii Masao wrote:
> On Mon, Jan 5, 2015 at 6:22 PM, Andres Freund <andres@2ndquadrant.com> wrote:
> > On 2015-01-05 16:22:56 +0900, Fujii Masao wrote:
> >> On Sun, Jan 4, 2015 at 5:47 AM, Andres Freund <andres@2ndquadrant.com> wrote:
> >> > On 2015-01-03 16:03:36 +0100, Andres Freund wrote:
> >> > pg_basebackup really
> >> > changed heavily since it's introduction. And desparately needs some
> >> > restructuring.
> >>
> >> The patch seems to break pg_receivexlog. I got the following error message
> >> while running pg_receivexlog.
> >
> >> pg_receivexlog: could not create archive status file
> >> "mmm/archive_status/000000010000000000000003.done": No such file or
> >> directory
> >
> > Dang. Stupid typo. And my tests didn't catch it, because I had
> > archive_directory in the target directory :(
> >
> > At least it's only broken in master :/

I've pushed the trivial fix, and verified using my adapted testscript
that it works on all branches.

> > Thanks for the catch. Do you have some additional testsuite or did you
> > catch it manually?
> 
> Manually... I just tested the tools and options which the patch may affect...

Thanks!

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [RFC] Incremental backup v3: incremental PoC
Next
From: Fujii Masao
Date:
Subject: Re: [REVIEW] Re: Compression of full-page-writes