]> granicus.if.org Git - postgresql/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:45 +0000 (18:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 18 Jan 2010 18:17:45 +0000 (18:17 +0000)
commita49147af7825f8ca882741a5f3cd03ec115dcbfa
tree65c99549f1a0a712430670db12fb5c56131eedb7
parenta0a7e6343406b2c9689dc7ccd9550ac603478cb6
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