pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Is there a way to find a schema name
2+ messages / 2 participants
[nested] [flat]

* Is there a way to find a schema name
@ 2005-03-24 16:03  Kalyani Chennupati <k_chennupati@yahoo.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Kalyani Chennupati @ 2005-03-24 16:03 UTC (permalink / raw)
  To: pgsql-sql

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

Thanks
KC



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Is there a way to find a schema name
@ 2005-03-27 08:22  Michael Fuhr <mike@fuhr.org>
  parent: Kalyani Chennupati <k_chennupati@yahoo.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Fuhr @ 2005-03-27 08:22 UTC (permalink / raw)
  To: Kalyani Chennupati <k_chennupati@yahoo.com>; +Cc: pgsql-sql

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/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-03-27 08:22 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-24 16:03 Is there a way to find a schema name Kalyani Chennupati <k_chennupati@yahoo.com>
2005-03-27 08:22 ` Michael Fuhr <mike@fuhr.org>

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