Postgresql Assign Value To Variable