Mario Splivalo <[EMAIL PROTECTED]> writes: > Wo-ha, makes perfect sense. So, I'd go by with declaring the rec as > varchar, instead as of a record. Wich is what I should do in the first > place.
Or just return the correct field out of it. RETURN NEXT returnValue.fieldname; I think you may have to do it this way because the FOR loop wants a record variable. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend