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