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>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Brendan Jurd <direvus(at)gmail(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-18 04:21:58
Message-ID: 200804180021.59165.xzilla@users.sourceforge.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thursday 17 April 2008 12:04, Joshua D. Drake wrote:
> On Thu, 17 Apr 2008 11:11:58 -0400
>
> Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> > Brendan Jurd wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > On Fri, Apr 18, 2008 at 12:36 AM, Tom Lane wrote:
> > >> Peter Eisentraut writes:
> > >> > Around it
> > >> > was proposed to truncate the psql welcome screen. What do you
> > >> > think about that?
> > >>
> > >> Personally. I'm very seriously against losing the version number
> > >> banner. I could do without any of the rest of it.
>
> Currently our prompt is fairly verbose:
>
> Welcome to psql 8.1.10, the PostgreSQL interactive terminal.
>
> Type: \copyright for distribution terms
> \h for help with SQL commands
> \? for help with psql commands
> \g or terminate with semicolon to execute query
> \q to quit
>
>
> We could just do:
>
> psql 8.1.10 - postgresql server version 8.1.10
>
> Type: \h for SQL help, \? for psql help, \q to quit
>
> postgres=#

I think it's getting overlooked because most people don't deal with it, but I
really think we need to keep the SSL info as is. Actually I think we ought
to keep the whole thing and just add the no-splash option for advanced users,
but barring that, the SSL info is very handy when you're working on SSL
enabled servers.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2008-04-18 04:24:12 Re: get rid of psql welcome message
Previous Message Tom Lane 2008-04-18 04:19:05 Re: Lessons from commit fest