Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: psql \d option list overloaded - Mailing list pgsql-hackers

From Greg Stark
Subject Re: psql \d option list overloaded
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: psql \d option list overloaded  (Dennis Björklund <[email protected]>)
Responses Re: psql \d option list overloaded
List pgsql-hackers
Dennis Björklund <[email protected]> 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



pgsql-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: OLE DB driver
Next
From: Shachar Shemesh
Date:
Subject: Re: OLE DB driver