postgresql8.3 update cp_suspend set data = :data where cp_package_id = :id and user_id = :user_id insert into cp_suspend (cp_package_id, user_id, data) values (:id, :user_id, :data)