Ron Peterson <ron(dot)peterson(at)yellowbank(dot)com> writes:
>> Sorry, I don't believe 8.1 took it either.
> Hmm, my test table fails in 8.1.4 also, but my actual use case works in
> 8.1.4 but not 8.2.
You haven't shown us exactly what that C function is doing, but my
interpretation of that is that 8.1 failed to check the domain
constraints at all, while 8.2 does it correctly.
regards, tom lane