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

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_basebackup -x/X doesn't play well with archive_mode & wal_keep_segments
Date: 2015-01-05 09:49:06
Message-ID: CAHGQGwGvr7oFLWnUbrE3+bOgGqYKVpYqwEYNEJRGT66XPsy3dA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jan 5, 2015 at 6:22 PM, Andres Freund <andres(at)2ndquadrant(dot)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(at)2ndquadrant(dot)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 :/
>
> 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...

Regards,

--
Fujii Masao

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2015-01-05 10:06:04 Re: Redesigning checkpoint_segments
Previous Message Fabien COELHO 2015-01-05 09:38:00 Re: add modulo (%) operator to pgbench