| От | Jaime Casanova |
|---|---|
| Тема | someone working to add merge? |
| Дата | |
| Msg-id | c2d9e70e0511110603q1799d811u6e4564be516b10ce@mail.gmail.com обсуждение |
| Ответы |
Re: someone working to add merge?
|
| Список | pgsql-hackers |
Hi, there is someone working in add the MERGE statement? i don't find much about what a good implementation of merge must have... i think what it needs to do is something like: - try to lock the rows for update - if the lock cannot be immediatly acquire ask why - if the rows are already locked,wait and try again? - if no rows were found try de insert part - if there was any other error, abort - elseupdate so i suppose we can reuse many of the code breaking the merge in 3 pieces... for now they are just thougths, i will think more in this and try to implement it... comments? ideas? suggestions? -- regards, Jaime Casanova (DBA: DataBase Aniquilator ;)
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера