Simple function question - Mailing list pgsql-novice

From Sean Davis
Subject Simple function question
Date
Msg-id F0DB4D94-273F-11D9-A778-000A95D7BA10@mail.nih.gov
Whole thread Raw
Responses Re: Simple function question
List 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 by date:

Previous
From: Steven Klassen
Date:
Subject: Re: Function to convert bigint to date
Next
From: Michael Fuhr
Date:
Subject: Re: Simple function question