I whas hopping the same optimisation as you: Write in place.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных