Content-Length: 262078 | pFad | http://github.com/postgrespro/postgres_cluster/commit/f45b8e51b6838ab820df13983c194f737be48778

9B createuser: Change a fprintf to pg_log_error · postgrespro/postgres_cluster@f45b8e5 · GitHub
Skip to content

Commit f45b8e5

Browse files
committed
createuser: Change a fprintf to pg_log_error
1 parent cea0924 commit f45b8e5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/bin/scripts/createuser.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,8 @@ main(int argc, char *argv[])
147147
conn_limit = strtol(optarg, &endptr, 10);
148148
if (*endptr != '\0' || conn_limit < -1) /* minimum valid value */
149149
{
150-
fprintf(stderr,
151-
_("%s: invalid value for --connection-limit: %s\n"),
152-
progname, optarg);
150+
pg_log_error("invalid value for --connection-limit: %s",
151+
optarg);
153152
exit(1);
154153
}
155154
break;

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_cluster/commit/f45b8e51b6838ab820df13983c194f737be48778

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy