From: Jeff Eckermann <jeff_eckermann@yahoo.com>
To: Jerry Lam <jlam@sandvine.com>
To: pgsql-odbc@postgresql.org
Subject: Re: How can I configure the postgresql odbc to return 1 row at a time?
Date: Mon, 11 Apr 2005 08:11:55 -0700 (PDT)
Message-ID: <20050411151156.83707.qmail@web20823.mail.yahoo.com> (raw)
--- Jerry Lam <jlam@sandvine.com> wrote:
> Hi,
>
> Is it possible to ask postgresql odbc driver to
> fetch the resulsets from the table one at a time
> instead of fetching all millions rows into memory?
Perhaps setting the "Use declare/fetch" driver option
to true will help you. This will cause a server side
cursor to be used, which will return the rows in
blocks. What controls the size of the blocks, I have
no idea; I've never messed with that.
>
> Thank you,
>
> Jerry
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
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-odbc@postgresql.org
Cc: jeff_eckermann@yahoo.com, jlam@sandvine.com
Subject: Re: How can I configure the postgresql odbc to return 1 row at a time?
In-Reply-To: <20050411151156.83707.qmail@web20823.mail.yahoo.com>
References: <20050411151156.83707.qmail@web20823.mail.yahoo.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