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

pgsql: Fix a bunch of bad interactions between partial indexes and the

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix a bunch of bad interactions between partial indexes and the
Date: 2005-07-28 20:26:22
Message-ID: 20050728202622.010A452ADD@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix a bunch of bad interactions between partial indexes and the new
planning logic for bitmap indexscans.  Partial indexes create corner
cases in which a scan might be done with no explicit index qual conditions,
and the code wasn't handling those cases nicely.  Also be a little
tenser about eliminating redundant clauses in the generated plan.
Per report from Dmitry Karasik.

Modified Files:
--------------
    pgsql/src/backend/nodes:
        list.c (r1.64 -> r1.65)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/nodes/list.c.diff?r1=1.64&r2=1.65)
    pgsql/src/backend/optimizer/path:
        indxpath.c (r1.186 -> r1.187)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/path/indxpath.c.diff?r1=1.186&r2=1.187)
        orindxpath.c (r1.73 -> r1.74)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/path/orindxpath.c.diff?r1=1.73&r2=1.74)
    pgsql/src/backend/optimizer/plan:
        createplan.c (r1.195 -> r1.196)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/createplan.c.diff?r1=1.195&r2=1.196)
        planagg.c (r1.6 -> r1.7)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/planagg.c.diff?r1=1.6&r2=1.7)
    pgsql/src/backend/optimizer/util:
        restrictinfo.c (r1.38 -> r1.39)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/restrictinfo.c.diff?r1=1.38&r2=1.39)
    pgsql/src/include/nodes:
        pg_list.h (r1.51 -> r1.52)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/nodes/pg_list.h.diff?r1=1.51&r2=1.52)
    pgsql/src/include/optimizer:
        paths.h (r1.85 -> r1.86)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/optimizer/paths.h.diff?r1=1.85&r2=1.86)
        restrictinfo.h (r1.32 -> r1.33)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/optimizer/restrictinfo.h.diff?r1=1.32&r2=1.33)

pgsql-committers by date

Next:From: User BklawansDate: 2005-07-28 20:44:37
Subject: bizgres - bizgres: The JasperReportRunner will now specify that the
Previous:From: User NwakefieldDate: 2005-07-28 20:23:33
Subject: bizgres - bizgres:

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