Add PGTZ environment variable to initialization code. Rename PG_DATESTYLE to PGDATESTYLE environment variable. Move environment variable code to a different place so it now works! Note that regression tests can now run with "setenv PGTZ PST8PDT"  at the frontend rather than requiring the backend to have TZ set.
Add PGTZ environment variable to initialization code.
Rename PG_DATESTYLE to PGDATESTYLE environment variable.
Move environment variable code to a different place so it now works!
Note that regression tests can now run with "setenv PGTZ PST8PDT"
 at the frontend rather than requiring the backend to have TZ set.

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