Skip site navigation (1) Skip section navigation (2)

Re: how to view all database,tables,users

From: Ireneusz Pluta <ipluta(at)wp(dot)pl>
To: Mondi Ravi <ravimondi(at)wlink(dot)com(dot)np>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: how to view all database,tables,users
Date: 2007-05-23 12:03:58
Message-ID: 46542DAE.4000501@wp.pl (view raw or flat)
Thread:
Lists: pgsql-admin

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
> 
> 
> 
> 


In response to

pgsql-admin by date

Next:From: John DeSoiDate: 2007-05-23 12:24:56
Subject: Re: Can I restrict backups?
Previous:From: Peter ElmersDate: 2007-05-23 11:28:25
Subject: Re: Size of logfiles

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group