Re: MERGE vs REPLACE
| От | Tom Lane |
|---|---|
| Тема | Re: MERGE vs REPLACE |
| Дата | |
| Msg-id | 25849.1132238470@sss.pgh.pa.us обсуждение |
| Ответ на | Re: MERGE vs REPLACE (Csaba Nagy <nagy@ecircle-ag.com>) |
| Ответы |
Re: MERGE vs REPLACE
Re: MERGE vs REPLACE |
| Список | pgsql-hackers |
Csaba Nagy <nagy@ecircle-ag.com> writes:
> OK, in this case I don't care about either MERGE or REPLACE, but for an
> UPSERT which does the locking :-)
This is exactly the point --- pretty much nobody has come to us and
asked for a feature that does what Peter and Martijn say MERGE does.
(I haven't bothered to look at the 2003 spec, I'm assuming they read it
correctly.) What we *have* been asked for, over and over, is an
insert-or-update feature that's not so tedious and inefficient as the
savepoint-insert-rollback-update kluge. That's what we ought to be
concentrating on providing.
regards, tom lane
В списке pgsql-hackers по дате отправления: