These are no longer needed/allowed with the new logging API.
format = 't';
else
{
- pg_log_error("invalid output format \"%s\", must be \"plain\" or \"tar\"\n",
+ pg_log_error("invalid output format \"%s\", must be \"plain\" or \"tar\"",
optarg);
exit(1);
}
compresslevel = atoi(optarg);
if (compresslevel < 0 || compresslevel > 9)
{
- pg_log_error("invalid compression level \"%s\"\n", optarg);
+ pg_log_error("invalid compression level \"%s\"", optarg);
exit(1);
}
break;
}
}
else
- fatal("internal error -- neither th nor fh specified in tarReadRaw()\n");
+ fatal("internal error -- neither th nor fh specified in tarReadRaw()");
}
ctx->tarFHpos += res + used;
/* to allow dumping pg_catalog; not accepted on input */
appendPQExpBufferStr(q, "default");
else
- fatal("unrecognized collation provider: %s\n",
+ fatal("unrecognized collation provider: %s",
collprovider);
if (strcmp(PQgetvalue(res, 0, i_collisdeterministic), "f") == 0)
else if (controlFile == &ControlFile_target)
histfile = slurpFile(datadir_target, path, NULL);
else
- pg_fatal("invalid control file\n");
+ pg_fatal("invalid control file");
history = rewind_parseTimeLineHistory(histfile, tli, nentries);
pg_free(histfile);