Re: [PATCH] Caching for stable expressions with constant arguments v3

Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>

From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Marti Raudsepp <marti@juffo.org>, pgsql-hackers <pgsql-hackers@postgresql.org>, Josh Berkus <josh@agliodbs.com>
Date: 2011-12-05T19:42:19Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. include_if_exists facility for config file.

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