Equivalent of a RECORD[] data type used in a function? - Mailing list pgsql-general

From nboutelier@hotmail.com
Subject Equivalent of a RECORD[] data type used in a function?
Date
Msg-id 1138768961.781744.70120@g14g2000cwa.googlegroups.com
Whole thread Raw
Responses Re: Equivalent of a RECORD[] data type used in a function?  (nboutelier@hotmail.com)
List pgsql-general
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


pgsql-general by date:

Previous
From: The Doctor
Date:
Subject: Help in compiling 8.1.2 from source
Next
From: nboutelier@hotmail.com
Date:
Subject: Re: Can't get the field = ANY(array) clause to work...