aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plpython/sql/plpython_function.sql
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-04-02 22:39:30 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-04-02 22:39:30 +0000
commit85369f888ec9af8ed573c589b7d6fe28015a6cb6 (patch)
tree8fffcb58938c6803b8389765fcf58a43204e0cad /src/pl/plpython/sql/plpython_function.sql
parent0e550ff6174ebe8bab15b1218fa336e484513a61 (diff)
downloadpostgresql-85369f888ec9af8ed573c589b7d6fe28015a6cb6.tar.gz
postgresql-85369f888ec9af8ed573c589b7d6fe28015a6cb6.zip
Refactor ExecProject and associated routines so that fast-path code is used
for simple Var targetlist entries all the time, even when there are other entries that are not simple Vars. Also, ensure that we prefetch attributes (with slot_getsomeattrs) for all Vars in the targetlist, even those buried within expressions. In combination these changes seem to significantly reduce the runtime for cases where tlists are mostly but not exclusively Vars. Per my proposal of yesterday.
Diffstat (limited to 'src/pl/plpython/sql/plpython_function.sql')
0 files changed, 0 insertions, 0 deletions