Postgresql Set Current Datetime Function