Re: Foreign Key Storage

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Jessica Engblom <jessica(at)guild(dot)ab(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Foreign Key Storage
Date: 2000-08-22 00:57:10
Message-ID: Pine.BSF.4.10.10008211755150.18713-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You can get the information out of pg_trigger. Each
references relationship will create three triggers in
pg_trigger. It's not in a particularly friendly format
though. There should be messages in the archives of
either -general or -hackers about the details. (Or
if you can't find it, I can go through the entire thing
again).

Stephan Szabo
sszabo(at)bigpanda(dot)com

On Mon, 21 Aug 2000, Jessica Engblom wrote:

> I need to get access to all of the foreign keys in a database, but I am
> not sure where postgres stores them. Does anyone know it they are
> stored in a table or not, and if so which table?
>
> Thanks.
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tim Quinlan 2000-08-22 01:01:16 Re: FW: Hi , Semaphore problem --Pl. F1
Previous Message Martijn van Oosterhout 2000-08-22 00:51:39 DateStyle causes drama during upgrade