Postgresql Declare Variable Timestamp