Repair problem with multi-action rules in combination with any nontrivial manipulation of rtable/jointree by planner.  Rewriter was generating actions that shared rtable/jointree substructure, which caused havoc when planner got to the later actions that it'd already mucked up.
Repair problem with multi-action rules in combination with any nontrivial
manipulation of rtable/jointree by planner.  Rewriter was generating
actions that shared rtable/jointree substructure, which caused havoc
when planner got to the later actions that it'd already mucked up.

techdragon/Postgres-XL,tangp3/gpdb,xinzweb/gpdb,adam8157/gpdb,yuanzhao/gpdb,edespino/gpdb,tpostgres-projects/tPostgres,50wu/gpdb,tpostgres-projects/tPostgres,atris/gpdb,foyzur/gpdb,janebeckman/gpdb,greenplum-db/gpdb,xinzweb/gpdb,ovr/postgres-xl,yuanzhao/gpdb,rubikloud/gpdb,Chibin/gpdb,CraigHarris/gpdb,xuegang/gpdb,Postgres-XL/Postgres-XL,royc1/gpdb,50wu/gpdb,rvs/gpdb,kmjungersen/PostgresXL,oberstet/postgres-xl,foyzur/gpdb,greenplum-db/gpdb,atris/gpdb,xinzweb/gpdb,lisakowen/gpdb,0x0FFF/gpdb,rubikloud/gpdb,xuegang/gpdb,CraigHarris/gpdb,lisakowen/gpdb,rvs/gpdb,greenplum-db/gpdb,50wu/gpdb,greenplum-db/gpdb,ahachete/gpdb,ashwinstar/gpdb,Chibin/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,ahachete/gpdb,janebeckman/gpdb,rvs/gpdb,ahachete/gpdb,oberstet/postgres-xl,zaksoup/gpdb,Postgres-XL/Postgres-XL,xinzweb/gpdb,yuanzhao/gpdb,edespino/gpdb,0x0FFF/gpdb,xuegang/gpdb,edespino/gpdb,cjcjameson/gpdb,cjcjameson/gpdb,pavanvd/postgres-xl,randomtask1155/gpdb,ovr/postgres-xl,zeroae/postgres-xl,CraigHarris/gpdb,oberstet/postgres-xl,xuegang/gpdb,rubikloud/gpdb,arcivanov/postgres-xl,techdragon/Postgres-XL,ahachete/gpdb,rubikloud/gpdb,jmcatamney/gpdb,atris/gpdb,edespino/gpdb,postmind-net/postgres-xl,yazun/postgres-xl,chrishajas/gpdb,postmind-net/postgres-xl,atris/gpdb,pavanvd/postgres-xl,arcivanov/postgres-xl,zaksoup/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,xinzweb/gpdb,royc1/gpdb,lpetrov-pivotal/gpdb,kaknikhil/gpdb,zeroae/postgres-xl,chrishajas/gpdb,lpetrov-pivotal/gpdb,adam8157/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,rvs/gpdb,oberstet/postgres-xl,yazun/postgres-xl,randomtask1155/gpdb,rvs/gpdb,Quikling/gpdb,lisakowen/gpdb,chrishajas/gpdb,ovr/postgres-xl,royc1/gpdb,rvs/gpdb,cjcjameson/gpdb,lisakowen/gpdb,Chibin/gpdb,edespino/gpdb,tangp3/gpdb,ashwinstar/gpdb,lisakowen/gpdb,ahachete/gpdb,janebeckman/gpdb,yuanzhao/gpdb,edespino/gpdb,0x0FFF/gpdb,lpetrov-pivotal/gpdb,Quikling/gpdb,CraigHarris/gpdb,kmjungersen/PostgresXL,techdragon/Postgres-XL,chrishajas/gpdb,0x0FFF/gpdb,lintzc/gpdb,jmcatamney/gpdb,edespino/gpdb,Quikling/gpdb,pavanvd/postgres-xl,edespino/gpdb,zeroae/postgres-xl,lpetrov-pivotal/gpdb,yuanzhao/gpdb,Chibin/gpdb,yuanzhao/gpdb,50wu/gpdb,chrishajas/gpdb,0x0FFF/gpdb,Postgres-XL/Postgres-XL,edespino/gpdb,Quikling/gpdb,xuegang/gpdb,cjcjameson/gpdb,lintzc/gpdb,Quikling/gpdb,ashwinstar/gpdb,adam8157/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,lintzc/gpdb,foyzur/gpdb,arcivanov/postgres-xl,postmind-net/postgres-xl,rvs/gpdb,lintzc/gpdb,royc1/gpdb,atris/gpdb,janebeckman/gpdb,ashwinstar/gpdb,tangp3/gpdb,janebeckman/gpdb,royc1/gpdb,lintzc/gpdb,snaga/postgres-xl,janebeckman/gpdb,foyzur/gpdb,snaga/postgres-xl,Quikling/gpdb,CraigHarris/gpdb,Quikling/gpdb,postmind-net/postgres-xl,Postgres-XL/Postgres-XL,zaksoup/gpdb,0x0FFF/gpdb,janebeckman/gpdb,tpostgres-projects/tPostgres,50wu/gpdb,yazun/postgres-xl,lintzc/gpdb,snaga/postgres-xl,rvs/gpdb,xinzweb/gpdb,Quikling/gpdb,tangp3/gpdb,zeroae/postgres-xl,kaknikhil/gpdb,janebeckman/gpdb,royc1/gpdb,0x0FFF/gpdb,atris/gpdb,atris/gpdb,50wu/gpdb,jmcatamney/gpdb,cjcjameson/gpdb,cjcjameson/gpdb,pavanvd/postgres-xl,Chibin/gpdb,Chibin/gpdb,xinzweb/gpdb,kmjungersen/PostgresXL,cjcjameson/gpdb,tangp3/gpdb,kaknikhil/gpdb,xuegang/gpdb,xuegang/gpdb,lintzc/gpdb,arcivanov/postgres-xl,Postgres-XL/Postgres-XL,50wu/gpdb,tangp3/gpdb,royc1/gpdb,ahachete/gpdb,CraigHarris/gpdb,kaknikhil/gpdb,snaga/postgres-xl,randomtask1155/gpdb,randomtask1155/gpdb,rubikloud/gpdb,chrishajas/gpdb,randomtask1155/gpdb,jmcatamney/gpdb,randomtask1155/gpdb,adam8157/gpdb,adam8157/gpdb,ashwinstar/gpdb,xinzweb/gpdb,rubikloud/gpdb,snaga/postgres-xl,Chibin/gpdb,yuanzhao/gpdb,randomtask1155/gpdb,kaknikhil/gpdb,lpetrov-pivotal/gpdb,CraigHarris/gpdb,Chibin/gpdb,Quikling/gpdb,postmind-net/postgres-xl,foyzur/gpdb,rvs/gpdb,50wu/gpdb,techdragon/Postgres-XL,zeroae/postgres-xl,tpostgres-projects/tPostgres,kaknikhil/gpdb,ovr/postgres-xl,oberstet/postgres-xl,atris/gpdb,lintzc/gpdb,lintzc/gpdb,yazun/postgres-xl,adam8157/gpdb,chrishajas/gpdb,kmjungersen/PostgresXL,pavanvd/postgres-xl,edespino/gpdb,lisakowen/gpdb,kaknikhil/gpdb,Chibin/gpdb,ahachete/gpdb,lpetrov-pivotal/gpdb,techdragon/Postgres-XL,CraigHarris/gpdb,jmcatamney/gpdb,cjcjameson/gpdb,lpetrov-pivotal/gpdb,zaksoup/gpdb,jmcatamney/gpdb,adam8157/gpdb,Chibin/gpdb,chrishajas/gpdb,rvs/gpdb,arcivanov/postgres-xl,ashwinstar/gpdb,cjcjameson/gpdb,lpetrov-pivotal/gpdb,ovr/postgres-xl,xuegang/gpdb,zaksoup/gpdb,foyzur/gpdb,zaksoup/gpdb,lisakowen/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,xuegang/gpdb,Quikling/gpdb,tangp3/gpdb,lisakowen/gpdb,CraigHarris/gpdb,jmcatamney/gpdb,arcivanov/postgres-xl,zaksoup/gpdb,foyzur/gpdb,rubikloud/gpdb,ahachete/gpdb,rubikloud/gpdb,yazun/postgres-xl,randomtask1155/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,adam8157/gpdb,kmjungersen/PostgresXL,tpostgres-projects/tPostgres,zaksoup/gpdb,greenplum-db/gpdb,foyzur/gpdb,greenplum-db/gpdb,royc1/gpdb,tangp3/gpdb,janebeckman/gpdb,janebeckman/gpdb