How to pass array of values to a pgplsql function

From: Curtis Scheer <Curtis(at)DAYCOS(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: How to pass array of values to a pgplsql function
Date: 2006-07-18 16:27:01
Message-ID: 031936836C46D611BB1B00508BE7345D048DAB35@gatekeeper.daycos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Does anyone have any examples of how I would make a stored procedure in
plpgsql that would allow for passing a list or arrays of values to be used
in an sql IN clause? Like so: select * from table where field1 in (values).
Is this possible?

Thanks,

Curtis

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2006-07-18 16:43:04 Re: Simple webuser setup
Previous Message Kevin Flanders 2006-07-18 15:16:23 custom installer