Re: libpq, PQexecPrepared, data size sent to FE vs. FETCH_COUNT

From: Andrew Chernow <ac(at)esilo(dot)com>
To: Alex Goncharov <alex-goncharov(at)comcast(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: libpq, PQexecPrepared, data size sent to FE vs. FETCH_COUNT
Date: 2010-05-25 13:20:55
Message-ID: 4BFBCEB7.7000209@esilo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 05/25/2010 07:35 AM, Alex Goncharov wrote:
> ,--- I/Alex (Mon, 24 May 2010 12:25:18 -0400) ----*
> | No equivalent of FETCH_COUNT is available at the libpq level, so I
> | assume that the interface I am using is smart enough not to send
> | gigabytes of data to FE.
> |
> | Where does the result set (GBs of data) reside after I call
> | PQexecPrepared? On BE, I hope?
>
> Sorry for asking again...
>
> No sarcasm meant: is there no straightforward answer here? Or nobody
> is certain? Or a wrong list?
>

Issue multiple queries and make use of LIMIT/OFFSET. You'll have to go
manual on this one.

--
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-05-25 13:46:51 Re: pg_upgrade docs
Previous Message Alex Goncharov 2010-05-25 13:17:06 Re: libpq, PQexecPrepared, data size sent to FE vs. FETCH_COUNT