where column in ARRAY

Поиск
Список
Период
Сортировка
От Ivan Sergio Borgonovo
Тема where column in ARRAY
Дата
Msg-id 20081022144635.55120274@dawn.webthatworks.it
обсуждение исходный текст
Ответы Re: where column in ARRAY  ("Ludovic Levesque" <luddic@gmail.com>)
Re: where column in ARRAY  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Список pgsql-general
Without building up a dynamic query is it possible to:

create or replace function t1(a int[]) as
$$
...
select * from t1 where c in a; // eg in spite of in (1,2,3);

or just obtain a similar effect?

--
Ivan Sergio Borgonovo
http://www.webthatworks.it


В списке pgsql-general по дате отправления:

Предыдущее
От: "Grzegorz Jaśkiewicz"
Дата:
Сообщение: Re: Shopping cart
Следующее
От: Teodor Sigaev
Дата:
Сообщение: Re: index scan leads to result that is different from sec scan after upgrading to 8.3.4