1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-28 09:33:54 +02:00

fix a warning

This commit is contained in:
Anastasia 2017-04-19 18:31:40 +03:00
parent e1d003bb6c
commit eaccb463df

View File

@ -68,6 +68,7 @@ writeBackupCatalogConfig(FILE *out, pgBackupConfig *config)
fprintf(out, "PGPORT = %s\n", config->pgport); fprintf(out, "PGPORT = %s\n", config->pgport);
if (config->pguser) if (config->pguser)
fprintf(out, "PGUSER = %s\n", config->pguser); fprintf(out, "PGUSER = %s\n", config->pguser);
fprintf(out, "#Retention parameters:\n"); fprintf(out, "#Retention parameters:\n");
if (config->retention_redundancy) if (config->retention_redundancy)
fprintf(out, "retention-redundancy = %u\n", config->retention_redundancy); fprintf(out, "retention-redundancy = %u\n", config->retention_redundancy);