Trying to fix timestamp issues in psql.