Windows uses codepages rather than the environment, so we work around that by querying the environment explicitly first for LC_COLLATE and LC_CTYPE. We have to do this because initdb passes those values in the environment. If there is nothing there we fall back on the codepage.
Windows uses codepages rather than the environment, so we work around
that by querying the environment explicitly first for LC_COLLATE and
LC_CTYPE. We have to do this because initdb passes those values in the
environment. If there is nothing there we fall back on the codepage.

Andrew Dunstan

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