Philip Warner <pjw@rhyme.com.au> writes:
>> I've added the appropriate checks to AddRelationRawConstraints():
> I thought you'd just add the feature. My mistake ;-).
Unfortunately, that's not a four-line change :-(.
Quite aside from implementation shortcomings, there are some big
definitional issues with subselects in constraints --- just exactly
what are they constraining? See past discussions in the archives.
regards, tom lane