Re: [PATCH] Caching for stable expressions with constant arguments v3 - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: [PATCH] Caching for stable expressions with constant arguments v3
Date
Msg-id 4EDD1E9B.5090507@enterprisedb.com
Whole thread Raw
In response to Re: [PATCH] Caching for stable expressions with constant arguments v3  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Caching for stable expressions with constant arguments v3
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_upgrade automatic testing