Is it possible to have a function variable hold a recordset? Kind of like this...
DECLARE recordset_var RECORD[]; BEGIN recordset_var := (SELECT id FROM myTable); /* loop through a ton of different tables where column IN (recordset_var) */ END; Thanks for any help! -Nick ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings