Comment on Postgresql expects a timestamp not an integer in to_cast function