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

pgsql: Fix "constraint_exclusion = partition" logic so that it will also

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix "constraint_exclusion = partition" logic so that it will also
Date: 2010-03-30 21:58:18
Message-ID: 20100330215818.6874C7541D0@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix "constraint_exclusion = partition" logic so that it will also attempt
constraint exclusion on an inheritance set that is the target of an UPDATE
or DELETE query.  Per gripe from Marc Cousin.  Back-patch to 8.4 where
the feature was introduced.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/nodes:
        outfuncs.c (r1.360.2.1 -> r1.360.2.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/nodes/outfuncs.c?r1=1.360.2.1&r2=1.360.2.2)
    pgsql/src/backend/optimizer/plan:
        planner.c (r1.256 -> r1.256.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/planner.c?r1=1.256&r2=1.256.2.1)
    pgsql/src/backend/optimizer/util:
        plancat.c (r1.158 -> r1.158.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/plancat.c?r1=1.158&r2=1.158.2.1)
    pgsql/src/include/nodes:
        relation.h (r1.173 -> r1.173.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/nodes/relation.h?r1=1.173&r2=1.173.2.1)

pgsql-committers by date

Next:From: User MaosenDate: 2010-03-31 00:50:21
Subject: pgexternaltable - src:
Previous:From: Tom LaneDate: 2010-03-30 21:58:11
Subject: pgsql: Fix "constraint_exclusion = partition" logic so that it will also

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