Added Redshift/PG timestamp check