Alke <alke@iol.it> writes:
> Well, this query doesn't work because in the SELECT ... the operator
> "IN" can work only on subselect, not on array... how can I check if an
> element belongs to an array or not?
contrib/array has a slightly ugly solution to your problem.
regards, tom lane