PREPARE query with IN?

Поиск
Список
Период
Сортировка
От Ivan Voras
Тема PREPARE query with IN?
Дата
Msg-id h5d1d0$11l$1@ger.gmane.org
обсуждение исходный текст
Ответы Re: PREPARE query with IN?
Список pgsql-general
Is it possible to prepare a query with the IN clause in a meaningful
way? I could probably do it with a hard-coded number of arguments, like
"SELECT x FROM t WHERE y IN ($1, $2, $3)" but that kind of misses the
point of using IN for my needs.

In any case, it would probably be a good idea to add a sentence about it
on http://www.postgresql.org/docs/8.3/interactive/sql-prepare.html since
I'm probably not the first one to ask about it :)

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

Предыдущее
От: Eric Schwarzenbach
Дата:
Сообщение: Re: explicit JOIN faster than implicit?
Следующее
От: Christine Desmuke
Дата:
Сообщение: Re: Make check fails on 8.3.7