Re: Friendly help for psql - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: Friendly help for psql
Date
Msg-id 20080120221805.GA24325@alvh.no-ip.org
Whole thread Raw
In response to Re: Friendly help for psql  ("Greg Sabino Mullane" <greg@turnstep.com>)
List 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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Friendly help for psql
Next
From: Peter Eisentraut
Date:
Subject: Re: Friendly help for psql