Remove unportable assumption that it's okay to use the target buffer of an sprintf() as a source string.  Demonstrably does not work with recent gcc and/or glibc on some platforms.
Remove unportable assumption that it's okay to use the target buffer
of an sprintf() as a source string.  Demonstrably does not work with
recent gcc and/or glibc on some platforms.

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