Re: Expression Evaluator used for creating the plan tree / stmt ? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Expression Evaluator used for creating the plan tree / stmt ?
Date
Msg-id 5774.1306335878@sss.pgh.pa.us
Whole thread Raw
In response to Re: Expression Evaluator used for creating the plan tree / stmt ?  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Expression Evaluator used for creating the plan tree / stmt ?  (Vaibhav Kaushal <vaibhavkaushal123@gmail.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Vaibhav Kaushal's message of mié may 25 05:52:32 -0400 2011:
>> If the above is confusing, I just want to ask: "Is expression evaluator,
>> even in part responsible for {PLANNEDSTMT creation?"

> Yeah, as far as I understood Tom's talk, the expr evaluator is used to
> reduce some expressions to constants and such.

The planner would never call it with an expression containing a Var,
though.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Expression Evaluator used for creating the plan tree / stmt ?
Next
From: Tom Lane
Date:
Subject: Re: Pull up aggregate subquery