Re: List schema contents - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: List schema contents
Date
Msg-id 20060609210000.GJ57289@pervasive.com
Whole thread Raw
In response to Re: List schema contents  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: List schema contents  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Jun 09, 2006 at 04:55:07PM -0400, Tom Lane wrote:
> "Jim C. Nasby" <jnasby@pervasive.com> writes:
> > What I'm looking for is what "\d" provides you, only limited to a
> > specific schema. "\d information_schema." (for example) doesn't provide
> > that; it provides the details for every table/view in
> > information_schema.
> 
> What you're looking for is \dt, or perhaps \dtsv or one of those forms.

\dtsv produces exactly what I'd want/expect.

> I'd be the first to agree that the behavior of \d isn't particularly
> orthogonal, but it's not the pattern language that's the problem, it's
> the command itself.

Perhaps \d without an argument should just do whatever \dtsv does?
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: List schema contents
Next
From: Tom Lane
Date:
Subject: Re: List schema contents