Fix datetime input functions to correctly detect integer overflow when running on a 64-bit platform ... strtol() will happily return 64-bit output in that case.  Per bug #4231 from Geoff Tolley.
Fix datetime input functions to correctly detect integer overflow when
running on a 64-bit platform ... strtol() will happily return 64-bit
output in that case.  Per bug #4231 from Geoff Tolley.

postmind-net/postgres-xl,edespino/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,snaga/postgres-xl,greenplum-db/gpdb,lisakowen/gpdb,edespino/gpdb,pavanvd/postgres-xl,lisakowen/gpdb,yuanzhao/gpdb,adam8157/gpdb,pavanvd/postgres-xl,50wu/gpdb,xinzweb/gpdb,oberstet/postgres-xl,zeroae/postgres-xl,Postgres-XL/Postgres-XL,snaga/postgres-xl,ashwinstar/gpdb,xinzweb/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,lisakowen/gpdb,jmcatamney/gpdb,edespino/gpdb,Chibin/gpdb,yazun/postgres-xl,snaga/postgres-xl,yazun/postgres-xl,ashwinstar/gpdb,arcivanov/postgres-xl,adam8157/gpdb,ashwinstar/gpdb,techdragon/Postgres-XL,50wu/gpdb,adam8157/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,Postgres-XL/Postgres-XL,edespino/gpdb,tpostgres-projects/tPostgres,greenplum-db/gpdb,adam8157/gpdb,yuanzhao/gpdb,Chibin/gpdb,postmind-net/postgres-xl,adam8157/gpdb,zeroae/postgres-xl,lisakowen/gpdb,greenplum-db/gpdb,techdragon/Postgres-XL,tpostgres-projects/tPostgres,ashwinstar/gpdb,kmjungersen/PostgresXL,snaga/postgres-xl,adam8157/gpdb,ovr/postgres-xl,xinzweb/gpdb,Chibin/gpdb,tpostgres-projects/tPostgres,edespino/gpdb,edespino/gpdb,xinzweb/gpdb,yuanzhao/gpdb,lisakowen/gpdb,ovr/postgres-xl,jmcatamney/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,edespino/gpdb,ovr/postgres-xl,postmind-net/postgres-xl,arcivanov/postgres-xl,techdragon/Postgres-XL,ashwinstar/gpdb,snaga/postgres-xl,Chibin/gpdb,lisakowen/gpdb,oberstet/postgres-xl,Chibin/gpdb,jmcatamney/gpdb,tpostgres-projects/tPostgres,techdragon/Postgres-XL,Postgres-XL/Postgres-XL,50wu/gpdb,jmcatamney/gpdb,zeroae/postgres-xl,jmcatamney/gpdb,edespino/gpdb,Chibin/gpdb,zeroae/postgres-xl,kmjungersen/PostgresXL,Postgres-XL/Postgres-XL,50wu/gpdb,50wu/gpdb,oberstet/postgres-xl,tpostgres-projects/tPostgres,edespino/gpdb,greenplum-db/gpdb,yazun/postgres-xl,greenplum-db/gpdb,Postgres-XL/Postgres-XL,lisakowen/gpdb,xinzweb/gpdb,edespino/gpdb,arcivanov/postgres-xl,oberstet/postgres-xl,arcivanov/postgres-xl,50wu/gpdb,arcivanov/postgres-xl,xinzweb/gpdb,techdragon/Postgres-XL,ovr/postgres-xl,arcivanov/postgres-xl,oberstet/postgres-xl,adam8157/gpdb,greenplum-db/gpdb,postmind-net/postgres-xl,Chibin/gpdb,jmcatamney/gpdb,50wu/gpdb,pavanvd/postgres-xl,kmjungersen/PostgresXL,pavanvd/postgres-xl,zeroae/postgres-xl,postmind-net/postgres-xl,kmjungersen/PostgresXL,adam8157/gpdb,Chibin/gpdb,Chibin/gpdb,yuanzhao/gpdb,Chibin/gpdb,ovr/postgres-xl,50wu/gpdb,lisakowen/gpdb,kmjungersen/PostgresXL,yuanzhao/gpdb,yuanzhao/gpdb,yazun/postgres-xl,yazun/postgres-xl,greenplum-db/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,xinzweb/gpdb