Move the line to undefine setlocale() macro on Win32 outside USE_REPL_SNPRINTF ifdef block. It has nothing to do with whether the replacement snprintf function is used. It caused no live bug, because the replacement snprintf function is always used on Win32, but it was nevertheless misplaced.
Move the line to undefine setlocale() macro on Win32 outside USE_REPL_SNPRINTF
ifdef block. It has nothing to do with whether the replacement snprintf
function is used. It caused no live bug, because the replacement snprintf
function is always used on Win32, but it was nevertheless misplaced.

0x0FFF/gpdb,CraigHarris/gpdb,0x0FFF/gpdb,xuegang/gpdb,xuegang/gpdb,yuanzhao/gpdb,xuegang/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,chrishajas/gpdb,chrishajas/gpdb,ahachete/gpdb,Quikling/gpdb,royc1/gpdb,Chibin/gpdb,xuegang/gpdb,chrishajas/gpdb,edespino/gpdb,edespino/gpdb,CraigHarris/gpdb,CraigHarris/gpdb,xuegang/gpdb,kaknikhil/gpdb,xinzweb/gpdb,yuanzhao/gpdb,janebeckman/gpdb,Chibin/gpdb,lintzc/gpdb,ahachete/gpdb,jmcatamney/gpdb,lintzc/gpdb,CraigHarris/gpdb,edespino/gpdb,rvs/gpdb,cjcjameson/gpdb,janebeckman/gpdb,lintzc/gpdb,yuanzhao/gpdb,xinzweb/gpdb,jmcatamney/gpdb,CraigHarris/gpdb,edespino/gpdb,0x0FFF/gpdb,ashwinstar/gpdb,jmcatamney/gpdb,Quikling/gpdb,xinzweb/gpdb,janebeckman/gpdb,janebeckman/gpdb,Quikling/gpdb,royc1/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,Chibin/gpdb,lintzc/gpdb,Chibin/gpdb,janebeckman/gpdb,kaknikhil/gpdb,50wu/gpdb,adam8157/gpdb,janebeckman/gpdb,xinzweb/gpdb,rvs/gpdb,lisakowen/gpdb,chrishajas/gpdb,Chibin/gpdb,edespino/gpdb,Chibin/gpdb,lisakowen/gpdb,greenplum-db/gpdb,lisakowen/gpdb,zaksoup/gpdb,rvs/gpdb,cjcjameson/gpdb,lisakowen/gpdb,janebeckman/gpdb,adam8157/gpdb,greenplum-db/gpdb,Quikling/gpdb,adam8157/gpdb,chrishajas/gpdb,ashwinstar/gpdb,Chibin/gpdb,edespino/gpdb,edespino/gpdb,cjcjameson/gpdb,CraigHarris/gpdb,greenplum-db/gpdb,rvs/gpdb,cjcjameson/gpdb,cjcjameson/gpdb,xuegang/gpdb,edespino/gpdb,rvs/gpdb,zaksoup/gpdb,janebeckman/gpdb,0x0FFF/gpdb,Chibin/gpdb,adam8157/gpdb,50wu/gpdb,cjcjameson/gpdb,ashwinstar/gpdb,xuegang/gpdb,ahachete/gpdb,Quikling/gpdb,edespino/gpdb,lintzc/gpdb,Quikling/gpdb,50wu/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,xinzweb/gpdb,lisakowen/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,edespino/gpdb,lintzc/gpdb,50wu/gpdb,Quikling/gpdb,zaksoup/gpdb,ahachete/gpdb,jmcatamney/gpdb,CraigHarris/gpdb,kaknikhil/gpdb,lintzc/gpdb,ahachete/gpdb,rvs/gpdb,greenplum-db/gpdb,Quikling/gpdb,Chibin/gpdb,rvs/gpdb,zaksoup/gpdb,adam8157/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,50wu/gpdb,royc1/gpdb,adam8157/gpdb,xuegang/gpdb,cjcjameson/gpdb,chrishajas/gpdb,royc1/gpdb,Quikling/gpdb,xinzweb/gpdb,chrishajas/gpdb,royc1/gpdb,lisakowen/gpdb,royc1/gpdb,xinzweb/gpdb,ashwinstar/gpdb,rvs/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,zaksoup/gpdb,jmcatamney/gpdb,Chibin/gpdb,cjcjameson/gpdb,royc1/gpdb,0x0FFF/gpdb,lisakowen/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,ahachete/gpdb,adam8157/gpdb,yuanzhao/gpdb,lintzc/gpdb,chrishajas/gpdb,ashwinstar/gpdb,adam8157/gpdb,yuanzhao/gpdb,xuegang/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,ahachete/gpdb,jmcatamney/gpdb,0x0FFF/gpdb,0x0FFF/gpdb,50wu/gpdb,xinzweb/gpdb,jmcatamney/gpdb,janebeckman/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,royc1/gpdb,zaksoup/gpdb,rvs/gpdb,rvs/gpdb,janebeckman/gpdb,lisakowen/gpdb,ahachete/gpdb,kaknikhil/gpdb,zaksoup/gpdb,ashwinstar/gpdb,CraigHarris/gpdb,greenplum-db/gpdb,lintzc/gpdb,Quikling/gpdb,50wu/gpdb,yuanzhao/gpdb,CraigHarris/gpdb,50wu/gpdb,zaksoup/gpdb