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: (view raw, whole thread or download thread mbox)
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: 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-2017 The PostgreSQL Global Development Group