Skip to content
Snippets Groups Projects
Commit 56e59edd authored by Tom Lane's avatar Tom Lane
Browse files

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.
parent 91e18dbb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment