Postmaster help output

Started by Peter Eisentrautover 23 years ago3 messages
#1Peter Eisentraut
peter_e@gmx.net

$ postmaster --help
...
Report bugs to <pgsql-bugs@postgresql.org>.
DEBUG: proc_exit(0)
DEBUG: shmem_exit(0)
DEBUG: exit(0)
$

This is from a fresh installation, no debugging turned on.

--
Peter Eisentraut peter_e@gmx.net

#2Alvaro Herrera
alvherre@atentus.com
In reply to: Peter Eisentraut (#1)
Re: Postmaster help output

Peter Eisentraut dijo:

$ postmaster --help
...
Report bugs to <pgsql-bugs@postgresql.org>.
DEBUG: proc_exit(0)
DEBUG: shmem_exit(0)
DEBUG: exit(0)
$

This is weird:

$ postmaster -d1 --help
FATAL: --help requires argument
$

--
Alvaro Herrera (<alvherre[a]atentus.com>)
"La espina, desde que nace, ya pincha" (Proverbio africano)

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alvaro Herrera (#2)
Re: Postmaster help output

Alvaro Herrera <alvherre@atentus.com> writes:

Peter Eisentraut dijo:

$ postmaster --help
...
Report bugs to <pgsql-bugs@postgresql.org>.
DEBUG: proc_exit(0)
DEBUG: shmem_exit(0)
DEBUG: exit(0)
$

Fixed: someone was sloppy about the initial value of server_min_messages.

This is weird:

$ postmaster -d1 --help
FATAL: --help requires argument
$

This is because --help is special-cased and only works at the first
argument position. As you have it, it's being taken as a GUC switch
name.

regards, tom lane