kkland
Re:Postgres gets support for upsert
on Friday May 08, 2015 @05:38PM (#9514283)
That's great. Otherwise, it just wastes IDs unless one figures out a workaround for it.
Re:Postgres gets support for upsert
on Friday May 08, 2015 @01:33PM (#9513013)
I think the way MySQL works in doing "INSERT ... ON DUPLICATE KEY UPDATE" is to delete the old row and insert a new row if there's an auto incremental column (mostly it's ID column). Being curious if Postgres works the same way in this regard.