Re: Schemas in a database? - Mailing list pgsql-novice

From Mladen Gogala
Subject Re: Schemas in a database?
Date
Msg-id 4C5B6300.8050601@vmsinfo.com
Whole thread Raw
In response to Schemas in a database?  (Mladen Gogala <mgogala@vmsinfo.com>)
List pgsql-novice
Mladen Gogala wrote:
> How can I see all the schemas in a Postgres database? There is, of course,
> "select distinct schema from pg_tables" but what if the schema contains
> no tables? There is no pg_schemas table.
>
>
And, to answer my own question, the schemas are described in
pg_namespace. Thanks to Tomas Kellerer.

--
Mladen Gogala
Sr. Oracle DBA
1500 Broadway
New York, NY 10036
(212) 329-5251
www.vmsinfo.com


pgsql-novice by date:

Previous
From: Vibhor Kumar
Date:
Subject: Re: Schemas in a database?
Next
From: Leon Starr
Date:
Subject: Best way to test/develop lots of nested functions?