Re: get rid of psql welcome message - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: get rid of psql welcome message
Date
Msg-id 480A1983.6090602@commandprompt.com
Whole thread Raw
In response to Re: get rid of psql welcome message  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: get rid of psql welcome message  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: get rid of psql welcome message  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: TODO, FAQs to Wiki?
Next
From: Tom Lane
Date:
Subject: Re: get rid of psql welcome message