pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Jasper Potts <jasper@jasperpotts.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Select where id in (LARGE LIST) ?
Date: Wed, 03 Aug 2005 11:54:38 +1200
Message-ID: <42F007BE.8040002@opencloud.com> (raw)
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>

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



view thread (13+ messages)  latest in thread

Message-ID: <42F007BE.8040002@opencloud.com>
Permalink:  ../42F007BE.8040002@opencloud.com/
Also on:    postgresql.org/message-id/42F007BE.8040002@opencloud.com

 · 

reply

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: oliver@opencloud.com, jasper@jasperpotts.com
  Subject: Re: Select where id in (LARGE LIST) ?
  In-Reply-To: <42F007BE.8040002@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> <42EF7C7F.5000406@jasperpotts.com> <42F007BE.8040002@opencloud.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