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

Re: how to view all database,tables,users

From: Thomas Markus <t(dot)markus(at)proventis(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: how to view all database,tables,users
Date: 2007-05-23 10:57:16
Message-ID: 46541E0C.3010301@proventis.net (view raw or flat)
Thread:
Lists: pgsql-admin
use tables/views in scheme pg_catalog/information_schema

try
select * from pg_catalog.pg_database;
select * from pg_catalog.pg_user;
select * from pg_catalog.pg_tables;



Mondi Ravi schrieb:
> i can't find out command to show all databases,tables,users and
> integrity constraints relationships;
> yours sincerely
>
>
> ---------------------------(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
>   


Attachment: t.markus.vcf
Description: text/x-vcard (255 bytes)

In response to

pgsql-admin by date

Next:From: Peter ElmersDate: 2007-05-23 11:28:25
Subject: Re: Size of logfiles
Previous:From: Andrew SullivanDate: 2007-05-23 10:44:31
Subject: Re: Can I restrict backups?

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