Re: Viewing non-system objects in psql - Mailing list pgsql-general

From Doug Bloebaum
Subject Re: Viewing non-system objects in psql
Date
Msg-id caa2de8a05061708046de5e77b@mail.gmail.com
Whole thread Raw
In response to Re: Viewing non-system objects in psql  (David Fetter <david@fetter.org>)
List pgsql-general
On 6/16/05, David Fetter <david@fetter.org> wrote:
> On Thu, Jun 16, 2005 at 07:54:29PM -0000, Greg Sabino Mullane wrote:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I recently submitted a patch that makes all the database objects
> > behave in the same way as far as the backslash psql commands.
> > Currently, tables work like this: \dt lists all non-system tables in
> > your path, while \dtS shows only the system tables. The idea is to
> > expand that functionality to other database objects, e.g. functions.
> > Currently, \df will show you a list of *all* functions, including
> > the system ones. Since there are currently over 1500 system
> > functions, this limits its usefullness. The patch standardizes
> > everything on the way we do tables and indexes - the user ones are
> > shown by default, and you add a capital "S" if you really want to
> > see the system ones. So the patch would have \df show all your
> > functions, \dD show all your domains, \doS shows the system
> > operators, etc.
>
> +1 :)
>

Thumbs up from me, too.  It fails the test of "least astonishment" for
me when I get a listing of all the system functions with a \df, no
matter how many times I do it.  I like the \dfS model!

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: query plan in pg7.4 vs 8.0.3
Next
From: Tatsuo Ishii
Date:
Subject: Re: Help: chinese character set support (EUC_TW to/from