aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-04-30 00:14:54 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-04-30 00:14:54 +0000
commitafaa6b982115ad490326be2c66c577f6195f0067 (patch)
tree24bb418471fcebd4941e0e2554f32bb123476f68 /src/backend/tcop/postgres.c
parent39a333aa2b2d659f830a78a7d3c6bd43d4caa692 (diff)
downloadpostgresql-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