Re: Friendly help for psql

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

Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> I'd be happy with output that explains briefly the difference between
> psql and SQL commands and refers people to \? and \h. That way we don't
> have to introduce too much change and this can be a forgivable special
> case. (Don't like the "Help me" thing though).

I think you're headed in the same direction as Alvaro. A slight
extension on this would be

help

produces short blurb describing \h and \?

help something

produces same result as \h something

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Teodor Sigaev 2008-01-20 21:33:30 Re: message string fixes
Previous Message Mark Cave-Ayland 2008-01-20 21:12:32 Minor bug in src/port/rint.c

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2008-01-20 22:18:05 Re: Friendly help for psql
Previous Message Simon Riggs 2008-01-20 20:45:00 Re: Friendly help for psql