transformForUpdate() mustn't assume rowMarks list is initially empty. It could be recursing into a sub-query where there was already a FOR UPDATE clause.
transformForUpdate() mustn't assume rowMarks list is initially empty.
It could be recursing into a sub-query where there was already a FOR
UPDATE clause.

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