Re: newbie needs help with postgres internal tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: William WAISSE <wwaisse(at)esprit-equipe(dot)fr>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: newbie needs help with postgres internal tables
Date: 2001-11-23 19:14:57
Message-ID: 9655.1006542897@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

William WAISSE <wwaisse(at)esprit-equipe(dot)fr> writes:
> It's necessary cause I want to display in a treeview ( GtkCtree ) all the
> the tables in a particular database, and for each table, all the fields in
> this table ).

You can only see tables of the database you are connected to. To do the
above, you'd need to open a connection to each database in turn
(assuming that the installation is configured to let you get into all of
them...)

pg_database is visible from all databases, and so are pg_shadow and
pg_group, but AFAIR everything else is database-local.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Clinton 2001-11-23 19:26:23 PostgreSQL on Mac OS X --with-perl
Previous Message Luis Amigo 2001-11-23 19:07:58 explain analyze