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:32:12 |
Message-ID: | 20080814203212.09605755316@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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_2_STABLE
Modified Files:
--------------
pgsql/src/backend/optimizer/prep:
prepjointree.c (r1.44 -> r1.44.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/prep/prepjointree.c?r1=1.44&r2=1.44.2.1)
pgsql/src/backend/rewrite:
rewriteManip.c (r1.102 -> r1.102.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/rewrite/rewriteManip.c?r1=1.102&r2=1.102.2.1)
pgsql/src/include/rewrite:
rewriteManip.h (r1.42 -> r1.42.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/rewrite/rewriteManip.h?r1=1.42&r2=1.42.2.1)
From | Date | Subject | |
---|---|---|---|
Next Message | User Fxjr | 2008-08-14 21:04:42 | npgsql - Npgsql2: [#1010457] Avoid throwing exception when parsing an |
Previous Message | Heikki Linnakangas | 2008-08-14 20:31:59 | pgsql: Fix pull_up_simple_union_all to copy all rtable entries from |