From: Jasper Potts <jasper@jasperpotts.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Select where id in (LARGE LIST) ?
Date: Tue, 02 Aug 2005 15:00:31 +0100
Message-ID: <42EF7C7F.5000406@jasperpotts.com> (raw)
In-Reply-To: <42EF4193.3020009@opencloud.com>
References: <42EA4B90.4050606@jasperpotts.com>
<1122651744.2837.196.camel@coppola.muc.ecircle.de>
<42EA811B.10409@jasperpotts.com>
<1122885611.2837.209.camel@coppola.muc.ecircle.de>
<42EF3B8F.1020603@jasperpotts.com>
<42EF4193.3020009@opencloud.com>
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
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: jasper@jasperpotts.com
Subject: Re: Select where id in (LARGE LIST) ?
In-Reply-To: <42EF7C7F.5000406@jasperpotts.com>
References: <42EA4B90.4050606@jasperpotts.com> <1122651744.2837.196.camel@coppola.muc.ecircle.de> <42EA811B.10409@jasperpotts.com> <1122885611.2837.209.camel@coppola.muc.ecircle.de> <42EF3B8F.1020603@jasperpotts.com> <42EF4193.3020009@opencloud.com> <42EF7C7F.5000406@jasperpotts.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox