]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix an oversight in convert_EXISTS_sublink_to_join: we can't convert an
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 18 Jan 2010 18:17:52 +0000 (18:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 18 Jan 2010 18:17:52 +0000 (18:17 +0000)
commitdcd647d7cf98e3393f919135f6e113e896781f60
treed20a13ca4a8851e2dab1f9f14dca4020b5a62212
parent59dbd542ab18f557a88caa8a4c7279a4bb7e82e8
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.
src/backend/optimizer/plan/subselect.c