Re: WIP: generalized index constraints - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WIP: generalized index constraints
Date
Msg-id 1923.1253393001@sss.pgh.pa.us
Whole thread Raw
In response to Re: WIP: generalized index constraints  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: WIP: generalized index constraints
List pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> The design is that one backend needs to be able to see values being
> inserted by other backends before commit.

I don't understand why this isn't handled exactly the way unique
constraints are done now.  Frankly, the amount of added complexity you
propose below is enough to make me want to reject the patch forthwith;
given that it's going to be a relatively little-used feature, the bugs
are never going to be out of it completely if we do it like this.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: operator exclusion constraints [was: generalized index constraints]
Next
From: Jeff Davis
Date:
Subject: Re: WIP: generalized index constraints