mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Remove redundant newlines from error messages
These are no longer needed/allowed with the new logging API.
This commit is contained in:
@@ -2236,7 +2236,7 @@ main(int argc, char **argv)
|
||||
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);
|
||||
}
|
||||
@@ -2308,7 +2308,7 @@ main(int argc, char **argv)
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user