Re: segmentation fault in pg_basebackup - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: segmentation fault in pg_basebackup
Date
Msg-id CABUevEyzEN7vZg=suX1xt-S123dAOztMxYfikjRapbTJuS3FpA@mail.gmail.com
Whole thread Raw
In response to segmentation fault in pg_basebackup  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Wed, Jan 9, 2013 at 4:56 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> Hi,
>
> The pg_basebackup in HEAD caused a segmentation fault in my box.
>
> $ pg_basebackup -D mmm
> Segmentation fault: 11
>
> The cause is that WriteRecoveryConf() is wrongly called even if -R option is
> not specified in pg_basebackup. Attached patch fixes this problem.

Ugh, my fault. Failure when merging my changes with those from Zoltan.

Applied, thanks.

--Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: segmentation fault in pg_basebackup
Next
From: Tom Lane
Date:
Subject: Re: PL/perl should fail on configure, not make