Am 12.11.20 um 18:34 schrieb Michael Lewis:
MERGE command is implemented for this use case in some DBMS, but not Postgres (yet?).
MERGE is available in 2ndqPostgres, but that's not open source (it's available for 2ndQ-customers on request).
Regards, Andreas -- 2ndQuadrant, an EDB company www.2ndQuadrant.com / www.enterprisedb.com