Argument type list

Поиск
Список
Период
Сортировка
От Gustavo Tonini
Тема Argument type list
Дата
Msg-id 9c31dd0d0708230956t7ae067ebv9b958754a87e0f@mail.gmail.com
обсуждение исходный текст
Ответы Re: Argument type 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 по дате отправления:

Предыдущее
От: Tony Caduto
Дата:
Сообщение: Re: PostgreSQL vs Firebird feature comparison finished
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: PostgreSQL vs Firebird feature comparison finished