Re: complex referential integrity constraints

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Joris Dobbelsteen <Joris(at)familiedobbelsteen(dot)nl>
Cc: Robert Haas <Robert(dot)Haas(at)dyntek(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: complex referential integrity constraints
Date: 2007-02-22 17:17:10
Message-ID: 20070222171710.GD31115@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Feb 22, 2007 at 05:28:35PM +0100, Joris Dobbelsteen wrote:
> Even worse, I don't you can guarentee that this constraint is enforced
> at all times. That means, not if you are using triggers.
> The only option seems using foreign keys and put in a lot of redundant
> data.

Err, foreign keys are implemented using triggers, so this statement is
self-contradictary.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Markus Schiltknecht 2007-02-22 17:23:45 Re: tsearch2: word position
Previous Message Lincoln Yeoh 2007-02-22 17:14:38 Re: php professional