Quick hack to fix Oliver Elphick's problem with subselects in an inheritance query: make duplicate copies of subplans in adjust_inherited_attrs. When we redesign querytrees we really gotta do something about this issue of whether querytrees are read-only and can share substructure or not.
Quick hack to fix Oliver Elphick's problem with subselects in an
inheritance query: make duplicate copies of subplans in adjust_inherited_attrs.
When we redesign querytrees we really gotta do something about this
issue of whether querytrees are read-only and can share substructure
or not.

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