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

From Tom Lane
Subject Re: psql \d option list overloaded
Date
Msg-id 11694.1073762119@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql \d option list overloaded  (Greg Stark <gsstark@mit.edu>)
Responses Re: psql \d option list overloaded  (Jon Jensen <jon@endpoint.com>)
Re: psql \d option list overloaded  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> So for example:

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

It doesn't seem to me that this buys much except verboseness, though.

ISTM there are three fundamental problems with \d and friends:
1. Some people have a hard time remembering the commands.2. Some people aren't using psql.3. psql keeps breaking across
backendversions because the   needed commands change.
 

I don't see a lot of value in addressing just one of these problem
areas, when we could instead do something that addresses all three.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Shachar Shemesh
Date:
Subject: Re: OLE DB driver
Next
From: Hannu Krosing
Date:
Subject: Re: Encoding problems in PostgreSQL with XML data