segmentation fault in pg_basebackup - Mailing list pgsql-hackers

From Fujii Masao
Subject segmentation fault in pg_basebackup
Date
Msg-id CAHGQGwH0u+ToOr_9DFhDuPWMKP+urELSfEa2tU9rs=aMeAL6Hw@mail.gmail.com
Whole thread Raw
Responses Re: segmentation fault in pg_basebackup
List pgsql-hackers
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.

Regards,

--
Fujii Masao

Attachment

pgsql-hackers by date:

Previous
From: Christian Ullrich
Date:
Subject: Re: PL/perl should fail on configure, not make
Next
From: Magnus Hagander
Date:
Subject: Re: segmentation fault in pg_basebackup