Re: fix in --help output - Mailing list pgsql-patches

From Zdenek Kotala
Subject Re: fix in --help output
Date
Msg-id 47BE9EF8.2080200@sun.com
Whole thread Raw
In response to Re: fix in --help output  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
Peter Eisentraut napsal(a):
> Am Freitag, 22. Februar 2008 schrieb Zdenek Kotala:
>> Peter Eisentraut napsal(a):
>>> Zdenek Kotala wrote:
>>>> However, I get following error on Solaris:
>>>>
>>>> bash-3.2$ /usr/postgres/8.2/bin/postgres -D /tmp/db
>>>> --share_buffers=16000 /usr/postgres/8.2/bin/postgres: illegal option --
>>>> share_buffers=16000 Try "postgres --help" for more information.
>>>>
>>>> but following command works fine:
>>>>
>>>> /usr/postgres/8.2/bin/postgres -D /tmp/db -c shared_buffers=16000
>>> share_buffers is not the same as shared_buffers.
>> Yeah, it was a typo but it does not work anyway.
>
> Well, if it doesn't work you can use the -c option.

Yes, but it is confusing. For example see following message:

postgres does not know where to find the server configuration file.
You must specify the --config-file or -D invocation option or set the
PGDATA environment variable.

config-file is there mention as a hint, but it does not work and I think
there are more places where usage of "--.." is mentioned. It is
confusing for the user and there is no clue.

        Zdenek




pgsql-patches by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: fix in --help output
Next
From: Alvaro Herrera
Date:
Subject: Re: fix in --help output