mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-22 11:44:34 +02:00
[Issue #171] minor fixes
This commit is contained in:
parent
80bcb80ada
commit
6f1ba680ab
@ -1058,11 +1058,9 @@ create_recovery_conf(time_t backup_id,
|
||||
|
||||
if (params->primary_conninfo)
|
||||
fio_fprintf(fp, "primary_conninfo = '%s'\n", params->primary_conninfo);
|
||||
else{
|
||||
if (backup->primary_conninfo)
|
||||
else if (backup->primary_conninfo)
|
||||
fio_fprintf(fp, "primary_conninfo = '%s'\n", backup->primary_conninfo);
|
||||
}
|
||||
}
|
||||
|
||||
if (pitr_requested)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user