This patch will ensure that the hash table iteration performed by AtCommit_Portals is restarted when a portal is deleted. This is necessary since the deletion of a portal may cause the deletion of another which on rare occations may cause the iterator to return a deleted portal an thus a renewed attempt delete.
This patch will ensure that the hash table iteration performed by
AtCommit_Portals is restarted when a portal is deleted. This is
necessary since the deletion of a portal may cause the deletion of
another which on rare occations may cause the iterator to return a
deleted portal an thus a renewed attempt delete.

Thomas Hallgren

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