System tables

From: chris(at)future-i(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: System tables
Date: 2001-01-22 12:49:41
Message-ID: Pine.LNX.4.20L2.0101221248480.21417-100000@budvar.future-i.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm working on a project which needs to introspect the structure of a
database. I need to fish out table names, attribute names and
type, and foreign keys.

I had a poke about the system tables, but the meaning of the data isn't
always 100% clear. In particular, I could find no easy way to determine the
foreign key constraints (I know that Postgres emulates foreign keys with
rules and triggers).

Does anyone have some definitive information about the contents of the
system tables. Something like a description of the attribute meanings and
an ER diagram explaining table links would be very helpful, and would lead
to faster more accurate hitchhiking.

Cheers

Chris

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lincoln Yeoh 2001-01-22 13:33:25 Re: Troubles with performances
Previous Message Brendan Green 2001-01-22 11:11:21 Having a little trouble with TRIGGERS