Re: "deadlock detected" documentation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "deadlock detected" documentation
Дата
Msg-id 10286.1053018824@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: "deadlock detected" documentation  (Matt Mello <alien@spaceship.com>)
Ответы Re: "deadlock detected" documentation
Список pgsql-sql
Matt Mello <alien@spaceship.com> writes:
> I see.  One item I forgot to mention ...  Both update statements have a 
> where clause containing txn.terminalid=38.  Txn.terminalid is a foreign 
> key column in that table (txn.terminalid->terminal.terminalid).  Could 
> this be the source of the trouble?

Not per se.  The problem depends on which rows get updated and in what
sequence --- the contents of the WHERE clause aren't the issue, except
insofar as they determine the set of rows to be updated.
        regards, tom lane


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

Предыдущее
От: Matt Mello
Дата:
Сообщение: Re: "deadlock detected" documentation
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Inquiry From Form [pgsql]