postgresql7.1 update ec_problems_log set resolved_by=:user_id, resolved_date=current_timestamp where problem_id = :problem_id