Change small 'if/else' test to use Max().
Change small 'if/else' test to use Max().

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