pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@redhat.com>
To: Felipe Schnack <felipes@ritterdosreis.br>
Cc: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: setFetchSize
Date: Thu, 17 Jul 2003 09:31:45 -0400
Message-ID: <3F16A541.6010703@redhat.com> (raw)
References: <20030717102416.0f523cc2.felipes@ritterdosreis.br>

Felipe Schnack wrote:
>   There is a way that I can set setFetchSize() that will prevent pgsql from caching all the results of a query to server's memory?
>   I'm trying to search in the archives but any search I try returns 0 results...
> 

Have you tried setting it to a positive value and turning off autocommit 
(you must be inside a transaction to do this)?

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9




view thread (40+ messages)  latest in thread

Message-ID: <3F16A541.6010703@redhat.com>
Permalink:  ../3F16A541.6010703@redhat.com/
Also on:    postgresql.org/message-id/3F16A541.6010703@redhat.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: fnasser@redhat.com, felipes@ritterdosreis.br
  Subject: Re: setFetchSize
  In-Reply-To: <3F16A541.6010703@redhat.com>
  References: <20030717102416.0f523cc2.felipes@ritterdosreis.br> <3F16A541.6010703@redhat.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