Re: psql \d option list overloaded

Greg Stark <gsstark@mit.edu>

From: Greg Stark <gsstark@mit.edu>
To: pgsql-hackers@postgresql.org
Date: 2004-01-10T18:28:08Z
Lists: pgsql-hackers
Dennis Björklund <db@zigo.dhs.org> writes:

> I would rather have long commands so one can write
> 
> \describe_table foo

I would think it would be better to keep everything under a single command and
have a 1-1 correspondence to \d. Ie, just add a long form syntax following the
existing \d. \d would become just an obvious set of abbreviations. 

So for example:

\describe table foo => \dt foo
\describe index foo => \di foo
\describe aggregate foo => \da foo
\describe operator foo => \do foo

...

-- 
greg