Fix pg_upgrade to notice if psql fails to execute the given script, and not proceed with the update if so. Also add #!/bin/sh header line.
Fix pg_upgrade to notice if psql fails to execute the given
script, and not proceed with the update if so.
Also add #!/bin/sh header line.

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