"Simon Riggs" <simon(at)2ndquadrant(dot)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.
regards, tom lane