Re: isn't "insert into where not exists" atomic?

Поиск
Список
Период
Сортировка
От Mage
Тема Re: isn't "insert into where not exists" atomic?
Дата
Msg-id 4D4F06F4.4090209@mage.hu
обсуждение исходный текст
Ответ на Re: isn't "insert into where not exists" atomic?  (pasman pasmański <pasman.p@gmail.com>)
Список pgsql-general
On 02/04/2011 06:57 AM, pasman pasmański wrote:
> Mage, add "raise notice" at the begin of your buggy trigger.
>
There is a little bit of difference between "Your trigger is wrong. You
try to insert the same row twice" and "The trigger will be fired twice."

You stated the first but the second is the truth.

Nevermind, my solution will be using table level lock for this case.

         Mage



В списке pgsql-general по дате отправления:

Предыдущее
От: Vincent Veyron
Дата:
Сообщение: Re: Looking for Suggestion on Learning
Следующее
От: "Francisco Figueiredo Jr."
Дата:
Сообщение: Re: "could not accept SSPI security context"