From: Steven Bradley <sbradley@llnl.gov>
To: Gilson Costa <gpcosta@ruralsp.com.br>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Referential Integrity
Date: Thu, 08 Jul 1999 13:38:26 -0700
Message-ID: <3.0.5.32.19990708133826.0092d6e0@poptop.llnl.gov> (raw)
In-Reply-To: <000001bec97f$31ab6be0$5f86f6c8@mac>
PostgreSQL does not implement declarative referential integrity. It lets
you specify foreign key constraints in table definitions, but does nothing
with them. As such, you have to resort to writing triggers to implement the
traditional RI concerns (e.g.: mandatory parent, cascade delete, etc...).
At 03:41 PM 7/8/99 -0300, you wrote:
>I am a novice in PostgreSQL.
>How can I impose referential integrity to my tables?
>
>
>
>
Steven Bradley
Lawrence Livermore National Laboratory
PO Box 808
Livermore, California 94550
(925) 423-2101 sbradley@llnl.gov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: sbradley@llnl.gov, gpcosta@ruralsp.com.br
Subject: Re: [SQL] Referential Integrity
In-Reply-To: <3.0.5.32.19990708133826.0092d6e0@poptop.llnl.gov>
References: <000001bec97f$31ab6be0$5f86f6c8@mac> <3.0.5.32.19990708133826.0092d6e0@poptop.llnl.gov>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox