Search Postgresql Archives

Equivalent of a RECORD[] data type used in a function?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux