Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Sat, Dec 19, 2009 at 3:01 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> I believe the correct approach is probably to treat values that need to
>> be propagated into the inner side as executor parameters. This could
>> replace the existing, rather crocky, management of values passed into a
>> nestloop inner indexscan.
> What is the best place to look for the existing, rather crocky code?
Follow the second argument of ExecReScan from nodeNestloop to
nodeIndexscan.
regards, tom lane