Skip to content
Snippets Groups Projects
Commit c8f81df4 authored by Tom Lane's avatar Tom Lane
Browse files

Skip eval_const_expressions when the query is such that the expression

would be evaluated only once anyway (ie, it's just a SELECT with no
FROM or an INSERT ... VALUES).  The planner can't do it any faster than
the executor, so no point in an extra copying of the expression tree.
parent 03a542ba
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment