| От | Don Morrison |
|---|---|
| Тема | Re: Conditional INSERT: if not exists |
| Дата | |
| Msg-id | aee6519f0608231405u13b16147v3ae2cdb5a158e102@mail.gmail.com обсуждение |
| Ответ на | Re: Conditional INSERT: if not exists (Bruno Wolff III <bruno@wolff.to>) |
| Ответы |
Re: Conditional INSERT: if not exists
|
| Список | pgsql-novice |
> If you know there won't be concurrent inserts or deletes affecting the > row of interest there is a way to do this in the INSERT statement. I cannot rule out concurrent inserts. > > transaction...I'm not sure the nested transaction is necessary...maybe > > just the savepoint. Example: > Using save points creates nested transactions, so you have that overhead by > whatever name it is called. Overhead yes, that was not the question. The question was is the extra nesting necessary?
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера