Add code to check that IF/WHILE/EXIT test expressions are boolean, and try to coerce the values to boolean if not.  Per recent discussions.
Add code to check that IF/WHILE/EXIT test expressions are boolean,
and try to coerce the values to boolean if not.  Per recent discussions.

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