> On Sep 24, 2022, at 08:49, Barry Kimelman <blkimelman@xxxxxxxxx> wrote: > I thought the whole point of ON CONFLICT DO UPDATE was so that you could modify the data so that it would be inserted ON CONFLICT DO UPDATE allows you to modify the existing row that conflicted with the row being inserted, but it won't allow you to do change a row to resolve a conflict, and then insert it.