Suppress pull-up of subqueries that are in the nullable side of an outer

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e2004dfc69c602226288a99a4e769d6494a9afe7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-04-30T19:24:47Z
Releases: 7.1.1
Suppress pull-up of subqueries that are in the nullable side of an outer
join.  This is needed to avoid improper evaluation of expressions that
should be nulled out, as in Victor Wagner's bug report of 4/27/01.
Pretty ugly solution, but no time to do anything better for 7.1.1.

Files

PathChange+/−
src/backend/optimizer/plan/planner.c modified +36 −3