Re: pointer to feature comparisons, please

From: PFC <lists(at)peufeu(dot)com>
To: "Ron Johnson" <ron(dot)l(dot)johnson(at)cox(dot)net>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pointer to feature comparisons, please
Date: 2007-06-13 22:23:44
Message-ID: op.ttvshuyucigqcu@apollo13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 14 Jun 2007 00:09:20 +0200, Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
wrote:

> On 06/13/07 16:59, PFC wrote:
>>> Isn't it *supposed* to mis UNcommitted changes from other transactions?
>> Well, if the "uncommited change" is a DELETE of the row that
>> allowed the constraint check to pass, then when this delete is
>> commited, your data is no longer consistent.
>
> The DELETE should block, no?

Why ?

Foreign keys put an ON DELETE trigger on the referenced table besides
checking the referencing column on insert/update... If you just implement
a constraint, you only get half the functionality.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message PFC 2007-06-13 22:28:39 Re: inner join problem with temporary tables
Previous Message Ron Johnson 2007-06-13 22:09:20 Re: pointer to feature comparisons, please