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:
@ -152,9 +152,8 @@ main(int argc, char *argv[])
|
||||
conn_limit = strtol(optarg, &endptr, 10);
|
||||
if (*endptr != '\0' || conn_limit < -1) /* minimum valid value */
|
||||
{
|
||||
fprintf(stderr,
|
||||
_("%s: invalid value for --connection-limit: %s\n"),
|
||||
progname, optarg);
|
||||
pg_log_error("invalid value for --connection-limit: %s",
|
||||
optarg);
|
||||
exit(1);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user