On Sep 28, 2014, at 12:44 PM, Petite Abeille <petite.abei...@gmail.com> wrote:

> Postgres has convince itself that it somehow cannot support MERGE. Therefore 
> it will not. 


There's no question that PostgreSQL could support SQL MERGE.  But SQL MERGE is 
not what people are asking for when they ask for UPSERT.  PostgreSQL could 
implement UPSERT and *call it* MERGE (with somewhat different syntax, most 
likely)... but how that would be better than implementing UPSERT and calling it 
something that doesn't conflict with existing specification language escapes me.

In short: "Clean MERGE," where I assume "clean" means "with reasonable behavior 
in the presence of concurrent activity" and MERGE means "the MERGE statement 
defined in the standard" is a contradiction in terms, and expecting PostgreSQL 
to square that circle isn't a reasonable request.

--
-- Christophe Pettus
   x...@thebuild.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/C361C1D9-A035-48BC-A5C2-0EDB88C0E6F2%40thebuild.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to