Re: scan_recycle_buffers - Mailing list pgsql-patches

From Simon Riggs
Subject Re: scan_recycle_buffers
Date
Msg-id 1173516512.3641.398.camel@silverbirch.site
Whole thread Raw
In response to Re: scan_recycle_buffers  ("Simon Riggs" <simon@2ndquadrant.com>)
Responses Re: scan_recycle_buffers  (Mark Kirkwood <markir@paradise.net.nz>)
Re: scan_recycle_buffers  (Bruce Momjian <bruce@momjian.us>)
List pgsql-patches
On Sat, 2007-03-10 at 07:59 +0000, Simon Riggs wrote:
> On Fri, 2007-03-09 at 18:05 -0500, Tom Lane wrote:
> > "Simon Riggs" <simon@2ndquadrant.com> writes:
> > > On Fri, 2007-03-09 at 16:45 -0500, Tom Lane wrote:
> > >> We do that anyway; but certainly Simon's patch ought not be injecting
> > >> an additional one.
> >
> > > It should be possible to pass that down from the planner to the
> > > executor, in certain cases.
> >
> > Huh?  See HeapScanDesc->rs_nblocks.
>
> Many thanks.

New patch enclosed, implementation as you've requested.

Not ready to apply yet, but good for testing.

COPY command now also uses this hint, to allow test results and
discussion. Others could also, perhaps needing different values.

--
  Simon Riggs
  EnterpriseDB   http://www.enterprisedb.com


Attachment

pgsql-patches by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: scan_recycle_buffers
Next
From: Mark Kirkwood
Date:
Subject: Re: scan_recycle_buffers