From: Curtis Scheer <Curtis@DAYCOS.com>
To: pgsql-sql@postgresql.org
Subject: How to pass array of values to a stored procedure
Date: Tue, 18 Jul 2006 09:26:30 -0500
Message-ID: <031936836C46D611BB1B00508BE7345D048DAAB8@gatekeeper.daycos.com> (raw)
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).
Thanks,
Curtis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: Curtis@DAYCOS.com
Subject: Re: How to pass array of values to a stored procedure
In-Reply-To: <031936836C46D611BB1B00508BE7345D048DAAB8@gatekeeper.daycos.com>
References: <031936836C46D611BB1B00508BE7345D048DAAB8@gatekeeper.daycos.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox