Passing multiple rows to a function?

Поиск
Список
Период
Сортировка
От Vitaly Belman
Тема Passing multiple rows to a function?
Дата
Msg-id fa96e3c605042317007f2df037@mail.gmail.com
обсуждение исходный текст
Ответы Re: Passing multiple rows to a function?  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-novice
I know that you can pass rows/records to a function but what about a
few rows? Is that possible?

For example, I'd like to send to a function a number of rows from the
"workers" table (e.g "select * from workers where age<10") and the
function will return their summed salary.

--
 ICQ: 1912453
 AIM: VitalyB1984
 MSN: tmdagent@hotmail.com
 Yahoo!: VitalyBe

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: SSL use
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Passing multiple rows to a function?