Extracting database metadata

From: Grzegorz Mucha <mucher(at)tigana(dot)pl>
To: pgsql-general(at)postgresql(dot)org
Subject: Extracting database metadata
Date: 2001-06-13 10:01:25
Message-ID: 01061312012500.02593@theta
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Is there somewhere a solution that would list PG metadata? Most things are
simple to do, though foreign key information is not that trivial.
Regarding FKeys(as they interest me the most), I only noticed that they
can be extracted from pg_trigger, though the form the data are written
makes it difficult to do something with it in SQL or PLpgSQL (at least for
me).
I'd appreciate if someone shared his solution with me (perhaps a query or
a stored procedure that would extract FK data in tabular form - with table
and column names as columns)

--
Grzegorz Mucha <mucher(at)tigana(dot)pl> ICQ #91619595, tel.(502)261417
----------------------------------------------------------------

Browse pgsql-general by date

  From Date Subject
Next Message Carfield Yim 2001-06-13 10:04:38 Newbie question: How to check how many user avaliable at postgreSQL?
Previous Message Carfield Yim 2001-06-13 09:58:02 Newbie question: How to check how many tables avaliable at that database?