Adjust not-too-sane calculation of DDD value for to_char(interval). Per gripe from Chris Matheson.
Adjust not-too-sane calculation of DDD value for to_char(interval).
Per gripe from Chris Matheson.

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