Content-Length: 288106 | pFad | http://github.com/postgrespro/postgres/commit/16a3415440ecf2f5cd02848fc05cbfe040ce14c2

3E Fix redundancy in error messages · postgrespro/postgres@16a3415 · GitHub
Skip to content

Commit 16a3415

Browse files
committed
Fix redundancy in error messages
pg_log_error() already prints the program name, so we don't need to print it again inside the message.
1 parent 95b44bb commit 16a3415

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bin/pg_combinebackup/pg_combinebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ main(int argc, char *argv[])
212212

213213
if (optind >= argc)
214214
{
215-
pg_log_error("%s: no input directories specified", progname);
215+
pg_log_error("no input directories specified");
216216
pg_log_error_hint("Try \"%s --help\" for more information.", progname);
217217
exit(1);
218218
}

src/bin/pg_walsummary/pg_walsummary.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ main(int argc, char *argv[])
9191

9292
if (optind >= argc)
9393
{
94-
pg_log_error("%s: no input files specified", progname);
94+
pg_log_error("no input files specified");
9595
pg_log_error_hint("Try \"%s --help\" for more information.", progname);
9696
exit(1);
9797
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/16a3415440ecf2f5cd02848fc05cbfe040ce14c2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy