diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-02-06 06:50:33 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-02-06 06:50:33 +0000 |
commit | a95abdf8564e36b7c9de62423fcbe039fcc20efa (patch) | |
tree | 09750e90a9a1b1e8dd5d786e04ec81413de872e4 /src/backend/executor/nodeFunctionscan.c | |
parent | 5338847fcd105554e4eee92c3f5477f41bdc2e68 (diff) | |
download | postgresql-a95abdf8564e36b7c9de62423fcbe039fcc20efa.tar.gz postgresql-a95abdf8564e36b7c9de62423fcbe039fcc20efa.zip |
Fix a performance regression in 8.2: optimization of MIN/MAX into indexscans
had stopped working for tables buried inside views or sub-selects. This is
because I had gotten rid of the simplify_jointree() preprocessing step, and
optimize_minmax_aggregates() wasn't smart enough to deal with a non-canonical
FromExpr. Per gripe from Bill Howe.
Diffstat (limited to 'src/backend/executor/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions