mirror of
https://github.com/postgres/postgres.git
synced 2026-06-09 08:42:38 -04:00
createuser: Change a fprintf to pg_log_error
This commit is contained in:
parent
cea09246e5
commit
f45b8e51b6
1 changed files with 2 additions and 3 deletions
|
|
@ -147,9 +147,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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue