Re:Postgres 15 will support MERGE
by wswope on Tuesday March 29, 2022 @11:17AM
(#30843721)
IIUC, it’s an improvement over Postgres’ existing upsert functionality, which is centered around “INSERT INTO… ON CONFLICT UPDATE”. Instead of having to choose which action to take based on constraint conflicts, you can specify insert vs. update based on any arbitrary expression now, which formerly would’ve required some pgplsql or the like to write an IF… ELSE… branch.
[ Parent
| on HN ]
There are no comments on this comment yet.