Better HN
topnewbestaskshowjobs
Log inSign up

kkland

0 karma · joined May 8, 2015 (11y ago) · 2 submissions

Submissions

comment 11y ago · link · parent

That's great. Otherwise, it just wastes IDs unless one figures out a workaround for it.

comment 11y ago · link · parent

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.