Re: Looking for a command to list schemas

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Cosmopo <tempo(at)marquo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Looking for a command to list schemas
Date: 2005-10-26 13:36:07
Message-ID: 20051026133606.GD18862@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Oct 25, 2005 at 11:25:22AM -0700, Cosmopo wrote:
> Hello,
>
> We are presently experimenting with Postgresql schemas... We used basic
> commands like \d to list info from all tables/sequence/owner in a
> db... The schema info was always "public" since we never created one...

\dn list schemas
\dt *.* list all tables in all schemas
\z *.* list priveledges for all tables in all schemas
etc...

Is this helpful?
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2005-10-26 14:10:30 Re: querying PostgreSQL version?
Previous Message Andreas Kretschmer 2005-10-26 13:35:31 Re: Looking for a command to list schemas