>>>>> "Andrew" == Andrew Gierth <and...@tao11.riddles.org.uk> writes:

 Andrew> Simpler testcase, removing the CTE, so this is clearly just
 Andrew> about InitPlan:

So I can see exactly where the problem is, but I'm not sure what the
solution should be.

EvalPlanQualStart copies the param_exec value list explicitly _not_
including the execPlan link, which obviously isn't going to work if the
value has not been computed yet. Should it be forcing the evaluation of
initplans that haven't been run yet, or should the EPQ scan evaluate
them itself from a copy of the plan, or does there need to be some way
to share state? (having the InitPlan be run more than once might be a
problem?)

-- 
Andrew (irc:RhodiumToad)

Reply via email to