Re: Select where id in (LARGE LIST) ?

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Select where id in (LARGE LIST) ?
Дата
Msg-id 42F007BE.8040002@opencloud.com
обсуждение исходный текст
Ответ на Re: Select where id in (LARGE LIST) ?  (Jasper Potts <jasper@jasperpotts.com>)
Ответы Re: Select where id in (LARGE LIST) ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-jdbc
Jasper Potts wrote:
> I know from when I was testing "SELECT ... WHERE id IN (...,...)" I got
> a buffer over flow or similar exception from the postgresql native
> process at about 200-300 longs in the IN clause.

Well I'd need to see the actual exception not a vague description of it
to comment further.

> Could do with finding
> what the real limits are so I can protect against it. I will have a dig
> though the documentation later see what I can find :-)

There may be a (backend) limit on the number of parameters in a query,
not sure.

-O

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

Предыдущее
От: Víctor Pérez Juárez
Дата:
Сообщение: some improve JDBC
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: some improve JDBC