X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4FDC052B3B for ; Tue, 2 Aug 2005 20:54:44 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 42796-08 for ; Tue, 2 Aug 2005 23:54:37 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id EB79552B38 for ; Tue, 2 Aug 2005 20:54:35 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1E06ak-0004MU-SA; Wed, 03 Aug 2005 11:54:38 +1200 Message-ID: <42F007BE.8040002@opencloud.com> Date: Wed, 03 Aug 2005 11:54:38 +1200 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050324) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jasper Potts Cc: pgsql-jdbc@postgresql.org Subject: Re: Select where id in (LARGE LIST) ? 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> In-Reply-To: <42EF7C7F.5000406@jasperpotts.com> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200508/13 X-Sequence-Number: 13582 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