On Sat, Dec 19, 2009 at 4:46 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: > Robert Haas <robertmh...@gmail.com> writes: >> On Sat, Dec 19, 2009 at 3:01 PM, Tom Lane <t...@sss.pgh.pa.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.
Yeah, this is grotty. It appears that the comment introducing ExecReScan() is somewhat incorrect. It asserts that exprCtxt is used only -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers