MERGE vs REPLACE

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема MERGE vs REPLACE
Дата
Msg-id 200511112101.56178.peter_e@gmx.net
обсуждение исходный текст
Ответы Re: MERGE vs REPLACE  (Petr Jelinek <pjmodos@seznam.cz>)
Re: MERGE vs REPLACE  (Jaime Casanova <systemguards@gmail.com>)
Re: MERGE vs REPLACE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
It seems to me that it has always been implicitly assumed around here 
that the MERGE command would be a substitute for a MySQL-like REPLACE 
functionality.  After rereading the spec it seems that this is not the 
case.  MERGE always operates on two different tables, which REPLACE 
doesn't do.

That said, what kind of support for insert-or-update-this-row do we want 
to provide, if any?  Should it be a REPLACE command, an extension of 
the INSERT command, a modication of the MERGE syntax, or something 
else?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: someone working to add merge?
Следующее
От: Harald Fuchs
Дата:
Сообщение: Re: 8.1 substring bug?