pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ireneusz Pluta <ipluta@wp.pl>
To: Mondi Ravi <ravimondi@wlink.com.np>
Cc: pgsql-admin@postgresql.org
Subject: Re: how to view all database,tables,users
Date: Wed, 23 May 2007 14:03:58 +0200
Message-ID: <46542DAE.4000501@wp.pl> (raw)
In-Reply-To: <1179910438.3908.2.camel@localhost.localdomain>
References: <1179910438.3908.2.camel@localhost.localdomain>



Mondi Ravi napisaƂ(a):
> i can't find out command to show all databases,tables,users and
> integrity constraints relationships;
> yours sincerely

See tables and views of system catalogs:
http://www.postgresql.org/docs/8.2/interactive/catalogs.html
and use just SELECT statements on them to get what want.

You may use some of:
http://www.postgresql.org/docs/8.2/interactive/functions-info.html
http://www.postgresql.org/docs/8.2/interactive/functions-admin.html
functions in these statements.

> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match
> 
> 
> 
> 




view thread (4+ messages)  latest in thread

Message-ID: <46542DAE.4000501@wp.pl>
Permalink:  ../46542DAE.4000501@wp.pl/
Also on:    postgresql.org/message-id/46542DAE.4000501@wp.pl

 · 

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: ipluta@wp.pl, ravimondi@wlink.com.np
  Subject: Re: how to view all database,tables,users
  In-Reply-To: <46542DAE.4000501@wp.pl>

* 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