Simple function question

Поиск
Список
Период
Сортировка
От Sean Davis
Тема Simple function question
Дата
Msg-id F0DB4D94-273F-11D9-A778-000A95D7BA10@mail.nih.gov
обсуждение исходный текст
Ответы Re: Simple function question  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-novice
I would like to create a function that accepts an array of IDs
(integers) and loops over them, returning the the rows (setof
rowtype...?) that match them.  I have tried to no avail to form such a
function.  As a final extension, I would like to be able to return rows
formed by a join across a few tables (return a setof RECORD type?).  I
suppose I can just create the view I like then use a similar function
to the single-table version....

Thanks,
Sean



В списке pgsql-novice по дате отправления:

Предыдущее
От: Steven Klassen
Дата:
Сообщение: Re: Function to convert bigint to date
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Simple function question