Re: PGresult pointer and memory usage - Mailing list pgsql-general

From Tom Lane
Subject Re: PGresult pointer and memory usage
Date
Msg-id 27100.1106610697@sss.pgh.pa.us
Whole thread Raw
In response to PGresult pointer and memory usage  (Jeff Davis <jdavis-pgsql@empires.org>)
List pgsql-general
Jeff Davis <jdavis-pgsql@empires.org> writes:
> When you do a PQexec call in libpq, does PostgreSQL produce the entire
> result in memory on the server side, and then does libpq hold the entire
> result in memory after it retrieves it?

No, and yes.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: What is the format of 'binary' data in the postgresql client/server protocol version 3
Next
From: mstory@uchicago.edu
Date:
Subject: Re: Calculating a moving average (Coding style)