Is Greenplum built with support for 64-bit-integer dates and times?
According to the following PostgreSQL documentation, https://www.postgresql.org/docs/8.3/runtime-config-preset.html, we can see that:
"When timestamp values are stored as double-precision floating-point numbers (currently the default), the effective limit of precision might be less than 6."
This article explains how to confirm whether or not the PostgreSQL version used by Greenplum 5 is compiled with the option "--enable-integer-datetimes" to override the default behavior of using float-point numbers.
[gpadmin@gpdb-sandbox ~]$ psql psql (8.3.23) Type "help" for help. gpadmin=# SHOW integer_datetimes; integer_datetimes ------------------- on (1 row) gpadmin=# set integer_datetimes = off; ERROR: parameter "integer_datetimes" cannot be changed gpadmin=#