Re: Refactoring simplify_function (was: Caching constant stable expressions)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marti Raudsepp <marti(at)juffo(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Refactoring simplify_function (was: Caching constant stable expressions)
Date: 2012-03-23 23:17:31
Message-ID: 4914.1332544651@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Marti Raudsepp <marti(at)juffo(dot)org> writes:
> Per Tom's request, I split out this refactoring from my CacheExpr patch.

> Basically I'm just centralizing the eval_const_expressions_mutator()
> call on function arguments, from multiple different places to a single
> location. Without this, it would be a lot harder to implement argument
> caching logic in the CacheExpr patch.

I've applied a slightly-modified version of this after reconciling it
with the protransform fixes. I assume you are going to submit a rebased
version of the main CacheExpr patch?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marti Raudsepp 2012-03-23 23:41:11 Re: Refactoring simplify_function (was: Caching constant stable expressions)
Previous Message Dave Cramer 2012-03-23 20:58:15 who's familiar with the GSOC application process