Argument type list - Mailing list pgsql-general

From Gustavo Tonini
Subject Argument type list
Date
Msg-id 9c31dd0d0708230956t7ae067ebv9b958754a87e0f@mail.gmail.com
Whole thread Raw
Responses Re: Argument type list  (Erik Jones <erik@myemma.com>)
List pgsql-general
I want to create a function that receive a list argument and filter
data with IN operator. Example:

CREATE OR REPLACE FUNCTION "public"."ffoo" (list ???) RETURNS VOID AS
$body$
BEGIN
  select * from foo where foo_column in list;
END;
$body$
LANGUAGE 'plpgsql' ;

I played with arrays but I got no success...
Is it possible? How proceed?

Thanks,
Gustavo.

PS: Please C.C. to me, I'm not subscribed in list.

pgsql-general by date:

Previous
From: Tony Caduto
Date:
Subject: Re: PostgreSQL vs Firebird feature comparison finished
Next
From: "Joshua D. Drake"
Date:
Subject: Re: PostgreSQL vs Firebird feature comparison finished