Re: [GENERAL] Foreign Keys in PostgreSQL

From: Howie <caffeine(at)toodarkpark(dot)org>
To: Simeó <simeo(at)nil(dot)fut(dot)es>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Foreign Keys in PostgreSQL
Date: 1999-07-16 01:47:26
Message-ID: Pine.LNX.3.96.990716014630.175D-100000@rabies.toodarkpark.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-general

On Thu, 15 Jul 1999, [iso-8859-1] Sime wrote:

> How can I implement foreign Keys with postgres? thanks.

pgsql/contrib/spi has refint.c. you'd want to compile that and execute
refint.sql. it also comes with documentation.

refit is, for now, the way postgres handles foreign keys. two functions
are involved, check_foreign_key() and check_primary_key().

---
Howie <caffeine(at)toodarkpark(dot)org> URL: http://www.toodarkpark.org
"The distance between insanity and genius is measured only by success."

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message M. Zahariev 1999-07-17 04:59:46 subscribe
Previous Message Simeó 1999-07-15 20:21:34 Foreign Keys in PostgreSQL

Browse pgsql-general by date

  From Date Subject
Next Message Albert Chen 1999-07-16 03:04:49 Cannot compile JDBC.
Previous Message Simeó 1999-07-15 20:21:34 Foreign Keys in PostgreSQL