Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8D9BE9FA5C4 for ; Wed, 19 Sep 2007 10:54:19 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 36371-01 for ; Wed, 19 Sep 2007 10:54:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail.ionicsoft.com (mail.ionicsoft.com [81.188.4.2]) by postgresql.org (Postfix) with ESMTP id 807099FA590 for ; Wed, 19 Sep 2007 10:54:16 -0300 (ADT) Content-class: urn:content-classes:message Subject: Re: Postgres 8.2 and setFetchSize MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 19 Sep 2007 15:54:13 +0200 Message-ID: <95484F7A889A61469885286054F675DD512555@altarf.ionicsoft.com> X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [JDBC] Postgres 8.2 and setFetchSize Thread-Index: Acf6wJ5AJI6dhUccTSuujdR2yQHU4gAAw7pw References: <95484F7A889A61469885286054F675DD512526@altarf.ionicsoft.com> <95484F7A889A61469885286054F675DD51252A@altarf.ionicsoft.com> <46F12374.6000905@opencloud.com> From: =?iso-8859-1?Q?Fr=E9d=E9ric_Houbie?= To: "Oliver Jowett" Cc: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/99 X-Sequence-Number: 17521 I know, two differents tests on two databases, I know also that = setFetchSize limit the number of rows that are returned without waiting = the full result list. That's what I want. The fact is that the behaviour = is different from my pc (windows XP, pg 8.2.4).=20 I don't know where it could come from. Fr=E9d=E9ric -----Message d'origine----- De=A0: Oliver Jowett [mailto:oliver@opencloud.com]=20 Envoy=E9=A0: mercredi 19 septembre 2007 15:26 =C0=A0: Fr=E9d=E9ric Houbie Cc=A0: pgsql-jdbc@postgresql.org Objet=A0: Re: [JDBC] Postgres 8.2 and setFetchSize Fr=E9d=E9ric Houbie wrote: > I have one more information, I tried the same code using my local = Postgres database (on my XP, 8.2.4), it is working. What can I check on = the server to see what's wrong ? > 2007-09-19 14:10:51.993 LOG: duration: 0.000 ms execute S_2/C_3: = SELECT * FROM SValues That's a different query to what you said before: > String q=3D"SELECT a FROM SValues WHERE Name =3D 'title'"; so you're not really running the same code, it seems. -O