Re: get rid of psql welcome message

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: get rid of psql welcome message
Дата
Msg-id 480A35F6.8010102@commandprompt.com
обсуждение исходный текст
Ответ на Re: get rid of psql welcome message  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: get rid of psql welcome message  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
> help
>  returns:
>    \g to execute query
>    help psql for psql help
>    help sql for sql help
> 
> Of course we would keep the pre-existing key sequences for those of us 
> that have done this for the last decade :)

Actually in thinking about this more... I almost thing the default 
prompt should be:

-
psql version 8.2.7, server version 8.3.1 (some features may not work)
SSL: On {cert info}
Type help to get help (tab complete enabled)
-

So on the prompt they can do:

help <Tab> <tab> and it would give back:

help [sql | psql] (or something like that)

Then if they type:

help psql, they get back the current \?

If they type help sql they get back the current \h

If they don't know what they need, help is the shortest path to find 
out. If they do know what they need, then we don't need everything else.

Sincerely,

Joshua D. Drake


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: TODO, FAQs to Wiki?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: get rid of psql welcome message