pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Kalyani Chennupati <k_chennupati@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Is there a way to find a schema name
Date: Sun, 27 Mar 2005 01:22:09 -0700
Message-ID: <20050327082209.GB46534@winnie.fuhr.org> (raw)
In-Reply-To: <20050324160348.99072.qmail@web52306.mail.yahoo.com>
References: <20050324160348.99072.qmail@web52306.mail.yahoo.com>

On Thu, Mar 24, 2005 at 08:03:48AM -0800, Kalyani Chennupati wrote:

> Would like to know if there is a way to find a schema
> name (when in the schema through a application or
> through psql).

See "System Information Functions" (or "Miscellaneous Functions")
in the "Functions and Operators" chapter of the documentation.
Here's a link to the documentation for the latest release:

http://www.postgresql.org/docs/8.0/interactive/functions-info.html

See also the "System Catalogs" chapter -- you can do joins on
pg_class.relnamespace = pg_namespace.oid, for example.

http://www.postgresql.org/docs/8.0/interactive/catalogs.html

If this doesn't answer your question then please be more specific
about what you're trying to do.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



view thread (2+ messages)

Message-ID: <20050327082209.GB46534@winnie.fuhr.org>
Permalink:  ../20050327082209.GB46534@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050327082209.GB46534@winnie.fuhr.org

 · 

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-sql@postgresql.org
  Cc: mike@fuhr.org, k_chennupati@yahoo.com
  Subject: Re: Is there a way to find a schema name
  In-Reply-To: <20050327082209.GB46534@winnie.fuhr.org>

* 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