Fix typos and whitespace

This commit is contained in:
Ian Barwick
2016-05-30 16:01:38 +09:00
parent 3bcea46c3b
commit afc904f876
3 changed files with 4 additions and 4 deletions

View File

@@ -4264,10 +4264,10 @@ create_recovery_file(const char *data_dir)
log_debug(_("recovery.conf: %s"), line);
}
/* If pg_restore_command is set, we use it as resore_cmmand in recovery.conf */
/* If pg_restore_command is set, we use it as restore_cmmand in recovery.conf */
if (strcmp(options.pg_restore_command, "") != 0)
{
maxlen_snprintf(line, "restore_command = '%s'\n",
maxlen_snprintf(line, "restore_command = '%s'\n",
options.pg_restore_command);
if (write_recovery_file_line(recovery_file, recovery_file_path, line) == false)
return false;