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

Marginal performance hack: avoid unnecessary work in expression_tree_mutator.

We can just palloc, instead of using makeNode, when we are going to
overwrite the whole node anyway in the FLATCOPY macro.  Also, use
FLATCOPY instead of copyObject for common node types Var and Const.
parent 39a333aa
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.
Finish editing this message first!
Please register or to comment