Re: Refactoring simplify_function (was: Caching constant stable expressions) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Refactoring simplify_function (was: Caching constant stable expressions)
Date
Msg-id 4914.1332544651@sss.pgh.pa.us
Whole thread Raw
In response to Refactoring simplify_function (was: Caching constant stable expressions)  (Marti Raudsepp <marti@juffo.org>)
Responses Re: Refactoring simplify_function (was: Caching constant stable expressions)
List pgsql-hackers
Marti Raudsepp <marti@juffo.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


pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Finer Extension dependencies
Next
From: Marti Raudsepp
Date:
Subject: Re: Refactoring simplify_function (was: Caching constant stable expressions)