> The fundamental issue is that "ANY" has two meanings in PG, one of them
following the SQL standard and one not:
Oh yes, I was aware about two forms but it did not come into my mind, I was
thinking I use the same form in both cases since my query returns only one
row and column.
Thanks for pointing me into that.
--
Vlad