Svenne Krap <svenne@xxxxxxx> writes: > Tom Lane wrote: >> where (flow_direction, dataset_id) in (select * from new_func(122)) > Is this form of multi-column IN mentioned anywhere in the docs? I can't > find it. Sure, look under "Subquery Expressions". 8.0 and later refer to it as a row_constructor, but it's documented at least as far back as 7.3. regards, tom lane