Re: PGresult pointer and memory usage

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Davis <jdavis-pgsql(at)empires(dot)org>
Cc: PgSQL General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: PGresult pointer and memory usage
Date: 2005-01-24 23:51:37
Message-ID: 27100.1106610697@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Davis <jdavis-pgsql(at)empires(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-01-24 23:54:01 Re: What is the format of 'binary' data in the postgresql client/server protocol version 3
Previous Message Christopher Browne 2005-01-24 23:30:52 Re: Recursive queries