Re: get rid of psql welcome message

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: get rid of psql welcome message
Дата
Msg-id 200804191514.10561.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: get rid of psql welcome message  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: get rid of psql welcome message  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: get rid of psql welcome message  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Stephen Frost wrote:
> I'd recommend an option in .psqlrc to disable it, if possible.  That
> would be in line with what alot of other "splash-screen" type things do.

I like that idea.  Here is a minimal patch that allows you to put

\set WELCOME_MESSAGE none

or

\set WELCOME_MESSAGE terse

into .psqlrc.  The latter keeps the version information but omits the 
information about the backslash commands.  I didn't change any of the message 
wordings.  Simon's argument that screenshots and HOWTOs would need to be 
updated is not invalid.

I think everyone will find a mode they like here.

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: How to submit a patch
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: How to submit a patch