Re: Re: [HACKERS] triggered data change violation

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Re: [HACKERS] triggered data change violation
Дата
Msg-id 200103202115.QAA16953@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] triggered data change violation  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-sql
> A "triggered data change violation" happens everytime you change twice
> within a transaction a value (column) that is part of a foreign key
> constraint (don't recall exactly which part).
> 
> This error shouldn't really happen, but I recall there were some
> implementation and definition problems with deferred constraints.
> 
> ...FAQ alert...

Yes, I just got it in the TODO list a few weeks ago:

* INSERT & UPDATE/DELETE in transaction of primary key fails with  deferredTriggerGetPreviousEvent or "change
violation"[foreign]
 

I personally think we could do better on the wording of that error
message, at least until we get it fixed.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] triggered data change violation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: Use of the LIMIT clause ?