2 ms·
It really depends on your needs. I still am kind of in shock that Postgres is willing to add these baroque sorts of features, but still doesn't have an UPSERT.
by cwyers 12y ago
It really depends on your needs. I still am kind of in shock that Postgres is willing to add these baroque sorts of features, but still doesn't have an UPSERT.
- sergiosgc 12y agoIt's bound to appear on the next release. If I recall correctly, it almost made the last one, except for a last minute bug. Anyhow, if you really need it, you can easily write upserts with triggers.
- neilc 12y agoUPSERT is not a simple feature to implement correctly: http://www.pgcon.org/2014/schedule/events/661.en.html http://www.pgcon.org/2014/schedule/events/661.en.html