| От | Petr Jelinek |
|---|---|
| Тема | Re: MERGE vs REPLACE |
| Дата | |
| Msg-id | 4374FA25.1070602@seznam.cz обсуждение |
| Ответ на | MERGE vs REPLACE (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-hackers |
Peter Eisentraut wrote: > 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? > MERGE of course, it's standard, REPLACE is mysql extension -- Regards Petr Jelinek (PJMODOS) www.parba.cz
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера