Re: Select where id in (LARGE LIST) ?

From: Jasper Potts <jasper(at)jasperpotts(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Select where id in (LARGE LIST) ?
Date: 2005-08-02 14:00:31
Message-ID: 42EF7C7F.5000406@jasperpotts.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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. 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 :-)

Thanks

Jasper

Oliver Jowett wrote:

>Jasper Potts wrote:
>
>
>
>>The big question here is whats the max length of a query sent though
>>JDBC to Postgresql???
>>
>>
>
>You'll hit backend limits (I'm not sure if there are any explicit limits
>there other than available memory) before you hit any protocol limits;
>the protocol limits kick in at around 1GB..
>
>-O
>
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Víctor Pérez Juárez 2005-08-02 17:34:59 some improve JDBC
Previous Message Csaba Nagy 2005-08-02 09:52:17 Re: Select where id in (LARGE LIST) ?