Peter Eisentraut <peter_e@gmx.net> writes:
> if (IsUnderPostmaster)
> ereport(FATAL,
> (errcode(ERRCODE_SYNTAX_ERROR),
> - errmsg("invalid command-line arguments for server process"),
> + errmsg("invalid command-line arguments for server process: %s", argv[optind]),
> errhint("Try \"%s --help\" for more information.", progname)));
> else
> ereport(FATAL,
+1 for that change, but please s/arguments/argument/ in the text. Also,
what about the other branch of the "if" that's just out of sight here?
regards, tom lane