Fix snprintf to handle %$ properly by storing and reordering the arguments.
Fix snprintf to handle %$ properly by storing and reordering the
arguments.

Nicolai Tufar

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