Fix incorrect usage of non-strict OR joinclauses in appendrel indexscans.
Fix incorrect usage of non-strict OR joinclauses in appendrel indexscans.

By chance I happened to notice that bug #5076 was still broken in the
8.3 branch, though it worked everywhere else.  The reason is that 8.3's
version of adjust_appendrel_attrs_mutator neglected to adjust
RestrictInfo.nullable_relids.  This was an oversight in my patch of
2009-04-16, which I apparently corrected in the later branches on
2009-08-13 without realizing that it affected the 8.3 branch as well.
By the time the bug report was filed, it was not reproducible in 8.4.
I don't recall if I wrote it off as already fixed, or it just fell through
the cracks; but anyway it's been a live bug in 8.3 for a year.

edespino/gpdb,0x0FFF/gpdb,Chibin/gpdb,yuanzhao/gpdb,Chibin/gpdb,royc1/gpdb,edespino/gpdb,Quikling/gpdb,xuegang/gpdb,Quikling/gpdb,adam8157/gpdb,janebeckman/gpdb,Quikling/gpdb,cjcjameson/gpdb,xinzweb/gpdb,kaknikhil/gpdb,rvs/gpdb,kaknikhil/gpdb,adam8157/gpdb,rvs/gpdb,chrishajas/gpdb,royc1/gpdb,50wu/gpdb,0x0FFF/gpdb,50wu/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,cjcjameson/gpdb,CraigHarris/gpdb,greenplum-db/gpdb,cjcjameson/gpdb,lintzc/gpdb,edespino/gpdb,Chibin/gpdb,50wu/gpdb,royc1/gpdb,Chibin/gpdb,chrishajas/gpdb,0x0FFF/gpdb,0x0FFF/gpdb,adam8157/gpdb,lisakowen/gpdb,lisakowen/gpdb,janebeckman/gpdb,kaknikhil/gpdb,janebeckman/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,chrishajas/gpdb,Quikling/gpdb,ahachete/gpdb,greenplum-db/gpdb,0x0FFF/gpdb,yuanzhao/gpdb,adam8157/gpdb,royc1/gpdb,zaksoup/gpdb,greenplum-db/gpdb,xinzweb/gpdb,xinzweb/gpdb,CraigHarris/gpdb,zaksoup/gpdb,lisakowen/gpdb,janebeckman/gpdb,jmcatamney/gpdb,lisakowen/gpdb,xuegang/gpdb,ahachete/gpdb,janebeckman/gpdb,zaksoup/gpdb,janebeckman/gpdb,Quikling/gpdb,janebeckman/gpdb,jmcatamney/gpdb,janebeckman/gpdb,janebeckman/gpdb,greenplum-db/gpdb,50wu/gpdb,ashwinstar/gpdb,ahachete/gpdb,chrishajas/gpdb,Quikling/gpdb,Quikling/gpdb,cjcjameson/gpdb,edespino/gpdb,royc1/gpdb,yuanzhao/gpdb,janebeckman/gpdb,ahachete/gpdb,xinzweb/gpdb,ashwinstar/gpdb,lisakowen/gpdb,50wu/gpdb,lintzc/gpdb,edespino/gpdb,jmcatamney/gpdb,50wu/gpdb,royc1/gpdb,xuegang/gpdb,xinzweb/gpdb,adam8157/gpdb,cjcjameson/gpdb,rvs/gpdb,rvs/gpdb,rvs/gpdb,CraigHarris/gpdb,chrishajas/gpdb,ashwinstar/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,edespino/gpdb,lintzc/gpdb,rvs/gpdb,adam8157/gpdb,ashwinstar/gpdb,chrishajas/gpdb,jmcatamney/gpdb,xuegang/gpdb,edespino/gpdb,Chibin/gpdb,cjcjameson/gpdb,Chibin/gpdb,50wu/gpdb,cjcjameson/gpdb,chrishajas/gpdb,ashwinstar/gpdb,lintzc/gpdb,edespino/gpdb,zaksoup/gpdb,Quikling/gpdb,Quikling/gpdb,lintzc/gpdb,xinzweb/gpdb,lintzc/gpdb,edespino/gpdb,zaksoup/gpdb,lisakowen/gpdb,CraigHarris/gpdb,royc1/gpdb,rvs/gpdb,greenplum-db/gpdb,adam8157/gpdb,kaknikhil/gpdb,xuegang/gpdb,royc1/gpdb,rvs/gpdb,xuegang/gpdb,lintzc/gpdb,Chibin/gpdb,yuanzhao/gpdb,ahachete/gpdb,xuegang/gpdb,jmcatamney/gpdb,0x0FFF/gpdb,yuanzhao/gpdb,lisakowen/gpdb,ahachete/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,Chibin/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,kaknikhil/gpdb,xuegang/gpdb,xuegang/gpdb,zaksoup/gpdb,CraigHarris/gpdb,lintzc/gpdb,rvs/gpdb,50wu/gpdb,xinzweb/gpdb,Chibin/gpdb,CraigHarris/gpdb,CraigHarris/gpdb,Quikling/gpdb,edespino/gpdb,zaksoup/gpdb,CraigHarris/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,chrishajas/gpdb,CraigHarris/gpdb,ahachete/gpdb,greenplum-db/gpdb,xinzweb/gpdb,lisakowen/gpdb,zaksoup/gpdb,rvs/gpdb,ahachete/gpdb,lintzc/gpdb,ashwinstar/gpdb,0x0FFF/gpdb,greenplum-db/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,adam8157/gpdb,Chibin/gpdb