I wonder if that is a corner case. Updating a unique key sounds to me like a design flaw in the first place.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных