Skip site navigation (1) Skip section navigation (2)

Getting Primary * Foreign Key Information?

From: Bernie Holmes <holmes(at)msu(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Getting Primary * Foreign Key Information?
Date: 2001-07-31 13:45:06
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
How do I get primary and foreign key data for a table?

Are there Postgres functions that return this information?

What tables should I join to pg_index and pg_trigger to get this 

Thanks for any assistance.

pgsql-general by date

Next:From: Bruce RichardsonDate: 2001-07-31 14:18:35
Subject: Sequences and inheritance
Previous:From: Einar KarttunenDate: 2001-07-31 13:31:42
Subject: Re: Sequences and inheritance

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group