pgsql: Fix an oversight in convert_EXISTS_sublink_to_join: we can't

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix an oversight in convert_EXISTS_sublink_to_join: we can't
Date: 2010-01-18 18:17:54
Message-ID: 20100118181754.4671A7541B9@cvs.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix an oversight in convert_EXISTS_sublink_to_join: we can't convert an
EXISTS that contains a WITH clause. This would usually lead to a
"could not find CTE" error later in planning, because the WITH wouldn't
get processed at all. Noted while playing with an example from Ken Marshall.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
pgsql/src/backend/optimizer/plan:
subselect.c (r1.150.2.1 -> r1.150.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/subselect.c?r1=1.150.2.1&r2=1.150.2.2)

Browse pgsql-committers by date

  From Date Subject
Next Message User Bmomjian 2010-01-18 19:33:21 pg-migrator - pg_migrator: Major code restructing for clarity.
Previous Message Tom Lane 2010-01-18 18:17:45 pgsql: Fix an oversight in convert_EXISTS_sublink_to_join: we can't