Re: Friendly help for psql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org, "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
Subject: Re: Friendly help for psql
Date: 2008-01-20 23:41:03
Message-ID: 14984.1200872463@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Now I have actually thought for a while whether we could get rid of the login
> text altogether. I would support trading that for extended help options.

That makes sense to me. I think people are accustomed to ignoring login
headers because they are usually just copyright boilerplate. I could
see reducing the header to something like

$ psql
Welcome to psql 8.3RC2, the PostgreSQL interactive terminal.
Type \? for help, \q to quit.

dbname=#

in the normal case. (The wrong-backend-version warning and perhaps
the SSL encryption notice would remain as possible additions.)

We really shouldn't be designing this on -patches, though.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-01-21 00:48:14 Re: [GENERAL] setof record "out" syntax and returning records
Previous Message Tom Lane 2008-01-20 23:27:55 Re: message string fixes

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-01-21 23:01:04 Thoughts about bug #3883
Previous Message Peter Eisentraut 2008-01-20 22:55:54 Re: Friendly help for psql