We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cea0924 commit f45b8e5Copy full SHA for f45b8e5
src/bin/scripts/createuser.c
@@ -147,9 +147,8 @@ main(int argc, char *argv[])
147
conn_limit = strtol(optarg, &endptr, 10);
148
if (*endptr != '\0' || conn_limit < -1) /* minimum valid value */
149
{
150
- fprintf(stderr,
151
- _("%s: invalid value for --connection-limit: %s\n"),
152
- progname, optarg);
+ pg_log_error("invalid value for --connection-limit: %s",
+ optarg);
153
exit(1);
154
}
155
break;
0 commit comments