Adjust subquery qual pushdown rules so that we can push down a qual
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 Apr 2003 23:43:09 +0000 (23:43 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 24 Apr 2003 23:43:09 +0000 (23:43 +0000)
commit5f677af2da8ca15516758a5b6c3af8565785977d
treee75eca0cb46bcb050dc7f510b3da3d060505b680
parent555fe9dda83f7a76951364a2ad176fbb0d750d64
Adjust subquery qual pushdown rules so that we can push down a qual
into a UNION that has some type coercions applied to the component
queries, so long as the qual itself does not reference any columns that
have such coercions.  Per example from Jonathan Bartlett 24-Apr-03.
src/backend/optimizer/path/allpaths.c
src/backend/optimizer/prep/prepunion.c
src/include/optimizer/prep.h