Re: Array to IN or UNION

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Array to IN or UNION
Дата
Msg-id 49A79D25.5060109@archonet.com
обсуждение исходный текст
Ответ на Array to IN or UNION  (Jordi Romagos <jordi.romagos@gmail.com>)
Список pgsql-general
Jordi Romagos wrote:
> I'm doing a procedure and I'm trying to pass a dynamic array into a CURSOR,
> I found the sentence ANY but it's really slow. Is there any way to convert
> all the elements in this array to IN condition or one select with unions?
> For example,

I've got a feeling that recent versions of PG actually convert IN to
ANY(<array>) - can you get a sample EXPLAIN ANALYSE output for your
problem query?

--
  Richard Huxton
  Archonet Ltd

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

Предыдущее
От: Abdul Rahman
Дата:
Сообщение: PostgreSQL to Oracle
Следующее
От: Artacus
Дата:
Сообщение: Re: PostgreSQL to Oracle