Passing multiple rows to a function? - Mailing list pgsql-novice

From Vitaly Belman
Subject Passing multiple rows to a function?
Date
Msg-id fa96e3c605042317007f2df037@mail.gmail.com
Whole thread Raw
Responses Re: Passing multiple rows to a function?
List 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 by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: SSL use
Next
From: Michael Fuhr
Date:
Subject: Re: Passing multiple rows to a function?