postgresql7.1
update auth_driver_params
set value = :value
where authority_id = :authority_id
and impl_id = :impl_id
and key = :parameter
insert into auth_driver_params (authority_id, impl_id, key, value)
values (:authority_id, :impl_id, :parameter, :value)