Question on returning Rows in a stored proc

Поиск
Список
Период
Сортировка
От Richard Sickler
Тема Question on returning Rows in a stored proc
Дата
Msg-id f2b12cc10903241008o3f810d7eqdeab67893f960bad@mail.gmail.com
обсуждение исходный текст
Ответы Re: Question on returning Rows in a stored proc
Re: Question on returning Rows in a stored proc
Список pgsql-novice
Hi,

I'm new to pl/pgsql and while exploring the world of writing stored procs, I came up with a question that I hope some kind person can help me with, namely, how does one return a bunch of rows?
From the examples that I've found on the web, I can return and integer, a real, etc.  But if I wanted to return the results of something like a query, (e.g. SELECT * FROM foo), how would I do that?

Rich

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

Предыдущее
От: Andreas
Дата:
Сообщение: How modify a sql-function without breaking views ?
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Question on returning Rows in a stored proc