Re: IN limit

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: IN limit
Дата
Msg-id dcc563d10812101035s54b25e4co87c84648b9a854cf@mail.gmail.com
обсуждение исходный текст
Ответ на Re: IN limit  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-general
On Wed, Dec 10, 2008 at 11:28 AM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
> On Wed, Dec 10, 2008 at 11:08 AM, Said Ramirez <sramirez@vonage.com> wrote:
>> Is there a limit to the number of entries I can pass in an IN clause as part
>> of a SELECT statement? As in
>> SELECT baz FROM foo where id in ( 1, 2,... ) ;
>
> I think it's high enough you'd have performance problems before it
> would fail.  If there even is one.

Just tested it with a subselect with 10M rows in an in clause.  Not
sure if that's the same as literal strings though.

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: IN limit
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: quit milis