From: Paul Thomas <paul@tmsl.demon.co.uk>
To: Felipe Schnack <felipes@ritterdosreis.br>
Cc: pgsql-jdbc @ postgresql . org <pgsql-jdbc@postgresql.org>
Subject: Re: setFetchSize
Date: Thu, 17 Jul 2003 16:38:47 +0100
Message-ID: <20030717163847.B28330@bacon> (raw)
In-Reply-To: <20030717102416.0f523cc2.felipes@ritterdosreis.br>
References: <20030717102416.0f523cc2.felipes@ritterdosreis.br>
On 17/07/2003 14:24 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...
Not AFAIK. A work-round might be to use limit and offset in your sql.
HTH
--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+
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: paul@tmsl.demon.co.uk, felipes@ritterdosreis.br
Subject: Re: setFetchSize
In-Reply-To: <20030717163847.B28330@bacon>
References: <20030717102416.0f523cc2.felipes@ritterdosreis.br> <20030717163847.B28330@bacon>
* 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