Re: psql \d option list overloaded

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql \d option list overloaded
Date: 2004-01-10 18:28:08
Message-ID: 878ykf4q13.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-general pgsql-hackers


Dennis Björklund <db(at)zigo(dot)dhs(dot)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

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Tom Lane 2004-01-10 19:15:19 Re: psql \d option list overloaded
Previous Message Joshua D. Drake 2004-01-10 18:22:11 Re: Will Open Source be forced to go Proprietary

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-01-10 19:05:57 Re: Bug in functions returning setof where table has dropped column?
Previous Message Robin Lynn Frank 2004-01-10 18:24:35 postgresql dies without saying why

Browse pgsql-hackers by date

  From Date Subject
Next Message Shachar Shemesh 2004-01-10 18:55:42 Re: OLE DB driver
Previous Message Andreas Pflug 2004-01-10 17:41:12 Re: OLE DB driver