pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frédéric Houbie <fh@ionicsoft.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Postgres 8.2 and setFetchSize
Date: Wed, 19 Sep 2007 15:54:13 +0200
Message-ID: <95484F7A889A61469885286054F675DD512555@altarf.ionicsoft.com> (raw)
References: <95484F7A889A61469885286054F675DD512526@altarf.ionicsoft.com>
	<95484F7A889A61469885286054F675DD51252A@altarf.ionicsoft.com>
	<46F12374.6000905@opencloud.com>

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

I don't know where it could come from.
Frédéric

-----Message d'origine-----
De : Oliver Jowett [mailto:oliver@opencloud.com] 
Envoyé : mercredi 19 septembre 2007 15:26
À : Frédéric Houbie
Cc : pgsql-jdbc@postgresql.org
Objet : Re: [JDBC] Postgres 8.2 and setFetchSize

Frédéric 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="SELECT a FROM SValues WHERE  Name = 'title'";

so you're not really running the same code, it seems.

-O



view thread (7+ messages)  latest in thread

Message-ID: <95484F7A889A61469885286054F675DD512555@altarf.ionicsoft.com>
Permalink:  ../95484F7A889A61469885286054F675DD512555@altarf.ionicsoft.com/
Also on:    postgresql.org/message-id/95484F7A889A61469885286054F675DD512555@altarf.ionicsoft.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: fh@ionicsoft.com, oliver@opencloud.com
  Subject: Re: Postgres 8.2 and setFetchSize
  In-Reply-To: <95484F7A889A61469885286054F675DD512555@altarf.ionicsoft.com>
  References: <95484F7A889A61469885286054F675DD512526@altarf.ionicsoft.com> <95484F7A889A61469885286054F675DD51252A@altarf.ionicsoft.com> <46F12374.6000905@opencloud.com> <95484F7A889A61469885286054F675DD512555@altarf.ionicsoft.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