Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-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"

Alvaro Herrera                      
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

pgsql-hackers by date

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

pgsql-patches by date

Next:From: Peter EisentrautDate: 2008-01-20 22:55:54
Subject: Re: Friendly help for psql
Previous:From: Tom LaneDate: 2008-01-20 21:31:19
Subject: Re: Friendly help for psql

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group