Now that we have UPDATE tab SET col = DEFAULT, get rid of horrid hack in the RI triggers for ON DELETE/UPDATE SET DEFAULT.  The code depended way too much on knowledge of plan structure, and yet still would fail if the generated query got rewritten by rules.
Now that we have UPDATE tab SET col = DEFAULT, get rid of horrid hack
in the RI triggers for ON DELETE/UPDATE SET DEFAULT.  The code depended
way too much on knowledge of plan structure, and yet still would fail
if the generated query got rewritten by rules.

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