Re: How do I list foreign key info/relation

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: jason(at)netspade(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How do I list foreign key info/relation
Date: 2000-11-13 16:42:28
Message-ID: Pine.BSF.4.21.0011130833110.63528-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


AFAIK, right now all you can do is use pg_trigger and that is how pg_dump
is reading the constraint information.

On Mon, 13 Nov 2000, Jason Davies wrote:

> Hi,
>
> Sorry if this is a re-post. Could someone tell me how I can list the foreign
> key info for a given column or for a given table?
>
> All I want is the information about the relationships for a specified column.
> The best I've come up with so far is looking in the pg_trigger table, but this
> is not ideal. There must be a way, because pg_dump gets the relationships
> somehow.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2000-11-13 16:47:07 Re: Removing constraints
Previous Message Robert D. Nelson 2000-11-13 16:22:00 RE: PHPBuilder article -- Postgres vs MySQL