Re: [HACKERS] Another nasty cache problem - Mailing list pgsql-hackers

From Chris Bitmead
Subject Re: [HACKERS] Another nasty cache problem
Date
Msg-id 389A6A62.7A6BD39C@nimrod.itg.telecom.com.au
Whole thread Raw
In response to Another nasty cache problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Another nasty cache problem  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> 
> Chris Bitmead <chrisb@nimrod.itg.telstra.com.au> writes:
> > What about portals? Doesn't psql use portals?
> 
> No ... portals are a backend concept ...

Since when?

According to the old doco you do...

select portal XX * from table_name where ...;

fetch 20 into XX.

If the PQexec() is called with "fetch 20" at a time
wouldn't this mean that you wouldn't exhaust front-end
memory with a big query?


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Another nasty cache problem
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] how to deal with sparse/to-be populated tables