Deadlocks and transactions

Поиск
Список
Период
Сортировка
От JORGE MALDONADO
Тема Deadlocks and transactions
Дата
Msg-id CAAY=A79qwsaTF9yV7+9-BiBZVmNZTN8s0x+a1OjKbDKX=_HMDw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Deadlocks and transactions  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-novice
I have a process that inserts a record in one table and, after that, a record in another table is updated. Because there are 2 DB operations, I decided to perform both of them in a transaction. 

Can a deadlock take place even if transactions are used?

Best regards,
Jorge Maldonado

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: convert legacy self-managed primary keys to postgresql's identity or serial pk's?
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Deadlocks and transactions