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

pgsql: Fix pull_up_simple_union_all to copy all rtable entries from

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pull_up_simple_union_all to copy all rtable entries from
Date: 2008-08-14 20:31:59
Message-ID: 20080814203159.31C3A755315@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix pull_up_simple_union_all to copy all rtable entries from child subquery to
parent, not only those with RangeTblRefs. We need them in ExecCheckRTPerms.

Report by Brendan O'Shea. Back-patch to 8.2, where pull_up_simple_union_all
was introduced.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/optimizer/prep:
        prepjointree.c (r1.49 -> r1.49.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/prep/prepjointree.c?r1=1.49&r2=1.49.2.1)
    pgsql/src/backend/rewrite:
        rewriteManip.c (r1.107 -> r1.107.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/rewrite/rewriteManip.c?r1=1.107&r2=1.107.2.1)
    pgsql/src/include/rewrite:
        rewriteManip.h (r1.44 -> r1.44.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/rewrite/rewriteManip.h?r1=1.44&r2=1.44.2.1)

pgsql-committers by date

Next:From: Heikki LinnakangasDate: 2008-08-14 20:32:12
Subject: pgsql: Fix pull_up_simple_union_all to copy all rtable entries from
Previous:From: Heikki LinnakangasDate: 2008-08-14 20:31:29
Subject: pgsql: Fix pull_up_simple_union_all to copy all rtable entries from

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