Re: LIBPQ: Can we have buffered PGresult (i.e. a retreival bu chuncks?)

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Abraham\, Danny" <danny_abraham(at)bmc(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: LIBPQ: Can we have buffered PGresult (i.e. a retreival bu chuncks?)
Date: 2007-11-22 15:44:35
Message-ID: 87bq9m709o.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Abraham, Danny" <danny_abraham(at)bmc(dot)com> writes:

> Is there a way to break the PGresult array to chunks
> Like Oracle?

There isn't a protocol-level way but there is a way in SQL, use cursors and
"FETCH FORWARD <n>"

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's 24x7 Postgres support!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2007-11-22 15:49:14 Re: LIBPQ: Can we have buffered PGresult (i.e. a retreival bu chuncks?)
Previous Message Reg Me Please 2007-11-22 15:32:54 Re: LIBPQ: Can we have buffered PGresult (i.e. a retreival bu chuncks?)