On Nov 27 11:59, Bret Schuhmacher wrote: > I'm trying to return multiple rows from a function, but all I can get > ... > > CREATE OR replace function getOnCallVol() RETURNS RECORD AS $$
You should return "SETOF record". See related section of the manual about SRFs (Set Returning Fucntions). Regards. ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org/