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:45
Message-ID: 20100118181745.A14E87541B9@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.

Modified Files:
--------------
pgsql/src/backend/optimizer/plan:
subselect.c (r1.157 -> r1.158)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/subselect.c?r1=1.157&r2=1.158)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-01-18 18:17:54 pgsql: Fix an oversight in convert_EXISTS_sublink_to_join: we can't
Previous Message User Bmomjian 2010-01-18 17:10:45 pg-migrator - pg_migrator: File reorganization, for clarity.