Re: schemas in 7.3b1 - Mailing list pgsql-general

From Sean Chittenden
Subject Re: schemas in 7.3b1
Date
Msg-id 20021004033219.GG44554@perrin.int.nxad.com
Whole thread Raw
In response to Re: schemas in 7.3b1  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> > Is there an easy way to get a list of schemas in a database?
> > I found the pg_namespace table, but that doesn't tell me what database
> > has a particular schema.
>
> Yours.  pg_namespace is local to a database, same as most other
> system catalogs.
>
> We had meant to add a \d command for listing schemas in psql, but
> both \ds and \dS are taken already :-(.  Any ideas out there for
> a reasonable choice?

 \dn [PATTERN]  list schema names/name spaces

-sc

--
Sean Chittenden

pgsql-general by date:

Previous
From: Neil Conway
Date:
Subject: Re: Core Dump
Next
From: "Jeff Post"
Date:
Subject: Re: to_char(0,'FM999.99') outputs 0.