pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: donghe@caltech.edu
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: donghe@caltech.edu
Cc: pgsql-admin@postgresql.org
Subject: Re: access to non public schema
Date: Wed, 16 Jun 2010 13:41:05 -0700 (PDT)
Message-ID: <2431.131.215.15.78.1276720865.squirrel@webmail.caltech.edu> (raw)
In-Reply-To: <4C18D9BA02000025000324A2@gw.wicourts.gov>
References: <2106.131.215.15.78.1276710977.squirrel@webmail.caltech.edu>
	<4C18D9BA02000025000324A2@gw.wicourts.gov>

Thank you!
one more question, how can I know if one database has several schema?

> <donghe@caltech.edu> wrote:
>
>> when I use #\d, it only list tables of public schema, how can I
>> see/access non-public schema in a database?
>
> Include the schema on your search_path or specify it on your \d
> command.  For example:
>
> cir=> \dt information_schema.*
>                       List of relations
>        Schema       |          Name           | Type  | Owner
> --------------------+-------------------------+-------+-------
>  information_schema | sql_features            | table | ccsa
>  information_schema | sql_implementation_info | table | ccsa
>  information_schema | sql_languages           | table | ccsa
>  information_schema | sql_packages            | table | ccsa
>  information_schema | sql_parts               | table | ccsa
>  information_schema | sql_sizing              | table | ccsa
>  information_schema | sql_sizing_profiles     | table | ccsa
> (7 rows)
>
> -Kevin
>





view thread (6+ messages)  latest in thread

Message-ID: <2431.131.215.15.78.1276720865.squirrel@webmail.caltech.edu>
Permalink:  ../2431.131.215.15.78.1276720865.squirrel@webmail.caltech.edu/
Also on:    postgresql.org/message-id/2431.131.215.15.78.1276720865.squirrel@webmail.caltech.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: donghe@caltech.edu, Kevin.Grittner@wicourts.gov
  Subject: Re: access to non public schema
  In-Reply-To: <2431.131.215.15.78.1276720865.squirrel@webmail.caltech.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox