Re: BUG #11107: UPDATE violates table check constraint - Mailing list pgsql-bugs

From Marko Tiikkaja
Subject Re: BUG #11107: UPDATE violates table check constraint
Date
Msg-id 53DBC802.7050205@joh.to
Whole thread Raw
In response to Re: BUG #11107: UPDATE violates table check constraint  (David G Johnston <david.g.johnston@gmail.com>)
Responses Re: BUG #11107: UPDATE violates table check constraint  (David Johnston <david.g.johnston@gmail.com>)
List pgsql-bugs
On 8/1/14 5:59 PM, David G Johnston wrote:
> Tom Lane-2 wrote
>> Sorry, but this check constraint has entirely undefined behavior, as does
>> any check constraint that refers to data rows other than the one that is
>> being checked.
>
> Which is why PostgreSQL has CREATE TRIGGER functionality...

Which does absolutely nothing to get rid of the race conditions.


.marko

pgsql-bugs by date:

Previous
From: David G Johnston
Date:
Subject: Re: BUG #11107: UPDATE violates table check constraint
Next
From: David Johnston
Date:
Subject: Re: BUG #11107: UPDATE violates table check constraint