From: | Vibhor Kumar <vibhor(dot)kumar(at)enterprisedb(dot)com> |
---|---|
To: | Mladen Gogala <mgogala(at)vmsinfo(dot)com> |
Cc: | "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Schemas in a database? |
Date: | 2010-08-06 00:30:14 |
Message-ID: | EF697310-C115-4E68-817B-DBA56D61C5AA@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Aug 5, 2010, at 6:44 PM, 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.
pg_namespace.nspname will give you the information of all schemas in Database
>
> --
> Mladen Gogala Sr. Oracle DBA
> 1500 Broadway
> New York, NY 10036
> (212) 329-5251
> http://www.vmsinfo.com The Leader in Integrated Media Intelligence Solutions
>
>
>
>
> --
> Sent via pgsql-novice mailing list (pgsql-novice(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-novice
Regards,
Vibhor Kumar
From | Date | Subject | |
---|---|---|---|
Next Message | Mladen Gogala | 2010-08-06 01:18:56 | Re: Schemas in a database? |
Previous Message | Rikard Bosnjakovic | 2010-08-05 22:50:54 | Re: Table-design for categories, suggestions needed |