| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера