mlw <markw(at)mohawksoft(dot)com> writes:
> freedb=# select * from cdsongs where songid = ftss_results() ;
> ERROR: Set-valued function called in context that cannot accept a set
'=' is a scalar operation. Try
select * from cdsongs where songid IN (select ftss_results());
regards, tom lane