Re: [HACKERS] segmentation fault in pg_basebackup

2013-01-09 Thread Magnus Hagander
On Wed, Jan 9, 2013 at 4:56 PM, Fujii Masao 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. Attac

[HACKERS] segmentation fault in pg_basebackup

2013-01-09 Thread Fujii Masao
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 pg_baseb