Fix syntax error in to_char fixes --- was defining variable in main code block, ala C++.
Fix syntax error in to_char fixes --- was defining variable in main code
block, ala C++.

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