Remove formatter's assumption that year would never exceed four digits. Enforce MAXTZLEN for all datestyles, not just some.  Remove macro definitions that were redundant with datetime.h.
Remove formatter's assumption that year would never exceed four digits.
Enforce MAXTZLEN for all datestyles, not just some.  Remove macro
definitions that were redundant with datetime.h.

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