public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Jim C. Nasby <[email protected]>
Cc: [email protected]
Subject: Re: List schema contents
Date: Fri, 09 Jun 2006 17:08:40 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

"Jim C. Nasby" <[email protected]> writes:
> On Fri, Jun 09, 2006 at 04:55:07PM -0400, Tom Lane wrote:
>> 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?

That's exactly what it does ... without an argument.  The
non-orthogonality is that adding an argument changes the printout style,
instead of just determining which objects are displayed.  See the psql
man page:

         Note: If \d is used without a pattern argument, it is
         equivalent to \dtvs which will show a list of all 
         tables, views, and sequences. This is purely a convenience measure. 

			regards, tom lane



view thread (21+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: List schema contents
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox