Re: Long options for psql in 7.1.3

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Long options for psql in 7.1.3
Дата
Msg-id Pine.LNX.4.30.0110042217390.877-100000@peter.localdomain
обсуждение исходный текст
Ответ на Long options for psql in 7.1.3  (Arcady Genkin <a.genkin@utoronto.ca>)
Ответы Re: Long options for psql in 7.1.3
Список pgsql-bugs
Arcady Genkin writes:

>   g9genarc@eddie:~$ psql -h /var/pgsql --help
>   psql was compiled without support for long options.
>   Use --help for help on invocation options.
>
> I guess that it was confused by having both options at once, since
> "psql --help" works fine (i.e. the long options *do* work).

While this message is confusing, it's factually correct. ;-)

We used to have -? as the universal help option, but that

a) doesn't work in csh

b) doesn't play well with getopt(3)

So --help was the next best (or even better IMHO) choice, and to support
it on all installations we had to give it some special treatment.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Allan Engelhardt
Дата:
Сообщение: Re: query plan
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #474: Index using problem