Re: Friendly help for psql

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Friendly help for psql
Date: 2008-01-20 22:18:05
Message-ID: 20080120221805.GA24325@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Greg Sabino Mullane wrote:

> Alvaro suggests:
>
> > To avoid the usage of unadorned "help" (which I don't think is going to
> > ever cause conflicts with a SQL command but perhaps it's better to be
> > prepared), one idea would be to respond with "please execute \help
> > instead", and then \help would emit the verbose output.
>
> Ugh. Why make people do two steps?

That was a side thought anyway, just to avoid the argument of "what will
we do when SQL decrees that HELP is a keyword to do something else".
Does anyone know if Oracle or DB2's command line tools have "help"
commands?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Teodor Sigaev 2008-01-20 22:18:09 Re: message string fixes
Previous Message Magnus Hagander 2008-01-20 22:11:04 Re: Minor bug in src/port/rint.c

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2008-01-20 22:55:54 Re: Friendly help for psql
Previous Message Tom Lane 2008-01-20 21:31:19 Re: Friendly help for psql