diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-30 00:14:54 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-30 00:14:54 +0000 |
commit | afaa6b982115ad490326be2c66c577f6195f0067 (patch) | |
tree | 24bb418471fcebd4941e0e2554f32bb123476f68 /src/backend/tcop/postgres.c | |
parent | 39a333aa2b2d659f830a78a7d3c6bd43d4caa692 (diff) | |
download | postgresql-afaa6b982115ad490326be2c66c577f6195f0067.tar.gz postgresql-afaa6b982115ad490326be2c66c577f6195f0067.zip |
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.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions