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

Поиск
Список
Период
Сортировка
От nboutelier@hotmail.com
Тема Equivalent of a RECORD[] data type used in a function?
Дата
Msg-id 1138768961.781744.70120@g14g2000cwa.googlegroups.com
обсуждение исходный текст
Ответы Re: Equivalent of a RECORD[] data type used in a function?
Список 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 по дате отправления:

Предыдущее
От: The Doctor
Дата:
Сообщение: Help in compiling 8.1.2 from source
Следующее
От: nboutelier@hotmail.com
Дата:
Сообщение: Re: Can't get the field = ANY(array) clause to work...