On 05.12.2011 21:36, Tom Lane wrote:
> Heikki Linnakangas<heikki.linnakangas@enterprisedb.com> writes:
>> Or pass a flag to ExecInitExpr() to skip through the CacheExprs.
>
> Not sure what you mean by that --- are you imagining that the ExprState
> tree would have structure not matching the Expr tree?
Yes. Or it could just set a flag in the CacheExprState nodes to not do
the caching.
-- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com