Skip site navigation (1) Skip section navigation (2)

pgsql: Fix a performance regression in 8.2: optimization of MIN/MAX into

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix a performance regression in 8.2: optimization of MIN/MAX into
Date: 2007-02-06 06:50:33
Message-ID: 20070206065033.3D7179FB1C6@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/optimizer/plan:
        planagg.c (r1.22 -> r1.22.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/planagg.c.diff?r1=1.22&r2=1.22.2.1)

pgsql-committers by date

Next:From: Peter EisentrautDate: 2007-02-06 09:16:08
Subject: pgsql: Move NAMEDATALEN definition from postgres_ext.h to
Previous:From: Tom LaneDate: 2007-02-06 06:50:26
Subject: pgsql: Fix a performance regression in 8.2: optimization of MIN/MAX into

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group