Re: get rid of psql welcome message

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: get rid of psql welcome message
Date: 2008-04-20 18:25:36
Message-ID: 200804201425.37344.xzilla@users.sourceforge.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Saturday 19 April 2008 20:14, Joshua D. Drake wrote:
> Tom Lane wrote:
> > I'm not against shortening the banner. What I'm against is turning this
> > thing into a camel (a horse designed by a committee). We should take
> > one approach or the other one, not both.
>
> O.k. that makes sense. I have zero desire to take away from the work
> that Peter did. However, I see less use of the .psqlrc and I find it
> more likely that a shortened default banner would be beneficial. *shrug*
>

Maybe we should add an additional paragraph to the psql welcome message:

"You can shorten or eliminate this welcome banner by modifying your .psqlrc
file and setting the WELCOME_MESSAGE to either "terse" or "none". For more
information on the .psqlrc file and it's available options, please see the
postgresql documentation".

This would provide even more help for newbies, and encourage people to learn
about the .psqlrc file. :-)

--
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jonah H. Harris 2008-04-20 18:37:54 Re: WAL files format
Previous Message Peter Eisentraut 2008-04-20 18:06:27 Re: get rid of psql welcome message