aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-11-24 00:39:44 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-11-24 00:39:44 +0000
commita36436ea3f402293bc5484b83823eed8d6a8dfc3 (patch)
tree2a8ac1c2852e29b8eaed0a8a1ca63aa7effc3724 /src/tutorial/funcs.c
parent92c0bf09603bc965816ebb589e28a44dfbb9e8f7 (diff)
downloadpostgresql-a36436ea3f402293bc5484b83823eed8d6a8dfc3.tar.gz
postgresql-a36436ea3f402293bc5484b83823eed8d6a8dfc3.zip
Change fix_scan_expr() to avoid copying the input node tree in the common case
where rtoffset == 0. In that case there is no need to change Var nodes, and since filling in unset opfuncid fields is always safe, scribbling on the input tree to that extent is not objectionable. This brings the cost of this operation back down to what it was in 8.2 for simple queries. Per investigation of performance gripe from Guillaume Smet.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions