Thread: Postmaster help output

Postmaster help output

From
Peter Eisentraut
Date:
$ 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



Re: Postmaster help output

From
Alvaro Herrera
Date:
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)



Re: Postmaster help output

From
Tom Lane
Date:
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