Don't attempt to write recovery.conf when -R is not specified

Magnus Hagander <magnus@hagander.net>

Commit: b5ed1376c61b341939ef3f54996a5c5af3408a06
Author: Magnus Hagander <magnus@hagander.net>
Date: 2013-01-09T15:57:32Z
Releases: 9.3.0
Don't attempt to write recovery.conf when -R is not specified

Fixes segmentation fault during regular use.

Fujii Masao

Files

PathChange+/−
src/bin/pg_basebackup/pg_basebackup.c modified +1 −1