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

<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: <4C18D9BA02000025000324A2@gw.wicourts.gov>
Permalink:  ../4C18D9BA02000025000324A2@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4C18D9BA02000025000324A2@gw.wicourts.gov

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

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

* 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