Re: get rid of psql welcome message

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: get rid of psql welcome message
Date: 2008-04-19 16:43:39
Message-ID: 200804191643.m3JGhdv08999@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:
> Joshua D. Drake wrote:
> > 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}
> > --
>
> I think the information that you use \g or semicolon to launch a query is
> surprisingly non-obvious to some users. One reason is that it doesn't always
> work that way in the interactive terminals of other database systems. I
> think that bit should be kept in the verbose version of the message.

Agreed. \g/; is pretty basic stuff and it seems there is room on the
line.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-04-19 16:51:22 Re: get rid of psql welcome message
Previous Message Joshua D. Drake 2008-04-19 16:42:52 Re: get rid of psql welcome message