Re: Conditional INSERT: if not exists

Поиск
Список
Период
Сортировка
От 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  (Sean Davis <sdavis2@mail.nih.gov>)
Список 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 по дате отправления:

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Conditional INSERT: if not exists
Следующее
От: Sean Davis
Дата:
Сообщение: Re: Conditional INSERT: if not exists