mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
createuser: Change a fprintf to pg_log_error
This commit is contained in:
@ -147,9 +147,8 @@ main(int argc, char *argv[])
|
|||||||
conn_limit = strtol(optarg, &endptr, 10);
|
conn_limit = strtol(optarg, &endptr, 10);
|
||||||
if (*endptr != '\0' || conn_limit < -1) /* minimum valid value */
|
if (*endptr != '\0' || conn_limit < -1) /* minimum valid value */
|
||||||
{
|
{
|
||||||
fprintf(stderr,
|
pg_log_error("invalid value for --connection-limit: %s",
|
||||||
_("%s: invalid value for --connection-limit: %s\n"),
|
optarg);
|
||||||
progname, optarg);
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user