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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

use tables/views in scheme pg_catalog/information_schema

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 Content-Type Size
t.markus.vcf text/x-vcard 255 bytes

In response to

Browse pgsql-admin by date

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