| От | Peter Eisentraut |
|---|---|
| Тема | Re: MERGE vs REPLACE |
| Дата | |
| Msg-id | 200511132207.42881.peter_e@gmx.net обсуждение исходный текст |
| Ответ на | Re: MERGE vs REPLACE (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: MERGE vs REPLACE
|
| Список | pgsql-hackers |
Tom Lane wrote: > IIRC, SQL's MERGE deals with this by offering two quite separate > specifications of what to do when there is or isn't already a > matching row. In that regard, MERGE is quite flexible, but MERGE doesn't address the point of REPLACE, because MERGE requires *two* tables as input, whereas REPLACE only takes *one*. Unless someone can show that you can trick MERGE into doing the REPLACE job anyway, we're not discussing the same thing. -- Peter Eisentraut http://developer.postgresql.org/~petere/
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера