Hi,
PFA patch to fix the issue in function node where it was displaying wrongquery if function returns table.RM#1851
--Regards,Murtuza ZabuawalaEnterpriseDB: http://www.enterprisedb.comThe Enterprise PostgreSQL Company