Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
> The short answer is that subselect in CHECK is not currently supported, and
> is not planned for 7.1.
We should, however, try to make 7.1 deliver a more helpful error message
;-). I've put a note about it on my todo list.
regards, tom lane