Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Actually standard SQL does specify a MERGE command (which lets you implement an upsert) and it's implemented in Postgres


MERGE debuted in PostgreSQL 15 fairly recently, and has some caveats.

https://news.ycombinator.com/item?id=33236780




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: