Re: get rid of psql welcome message
От | Joshua D. Drake |
---|---|
Тема | Re: get rid of psql welcome message |
Дата | |
Msg-id | 480A1983.6090602@commandprompt.com обсуждение исходный текст |
Ответ на | Re: get rid of psql welcome message (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: get rid of psql welcome message
Re: get rid of psql welcome message |
Список | pgsql-hackers |
Tom Lane wrote: > "Joshua D. Drake" <jd@commandprompt.com> writes: >> I would like to submit a further patch that has the one line screen >> (although I think it will be two), > > Um, what's the point? Someone who knows enough to set WELCOME_MESSAGE > in ~/.psqlrc is unlikely to need a one-line help reminder, so I don't > see the value of offering that alternative if it isn't going to be the > default. Given that the default will stay the same, I think Peter has > covered the useful bases. The information presented in the welcome screen is to verbose, but is still useful information. It is surely a cosmetic patch but there was support for the idea. My thoughts are to have the initial prompt look something like this: -- psql 8.1.10 - Server version 8.2.7 (some features may not work) Type: \h for SQL help, \? for psql help, \q to quit SSL: On {cert info} -- One of the things I have found is that the more information you provide someone, the less likely they are to read it. (Every single class I have taught has this problem). I think the above presentation is less bulky, provides essential nutrients and still gets the job done. Sincerely, Joshua D. Drake
В списке pgsql-hackers по дате отправления: