Re: odd deadlock on CREATE TABLE AS SELECT

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: odd deadlock on CREATE TABLE AS SELECT
Дата
Msg-id 407d949e0911090325r2c14758ax9e80358ea0d66cdf@mail.gmail.com
обсуждение исходный текст
Ответ на Re: odd deadlock on CREATE TABLE AS SELECT  (digitaldeath <digital.death@gmx.it>)
Список pgsql-bugs
On Mon, Nov 9, 2009 at 9:48 AM, digitaldeath <digital.death@gmx.it> wrote:
> Everybody is doing SELECT only on "adc" table, so why deadlocks if there
> are no write attempts on any row?

Well the deadlock error does include the information about what
queries deadlocked. In newer versions it includes the full text of the
query, but in older versions you would have to check the pg_stat*
views or postgres logs to track them down.


--
greg

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

Предыдущее
От: digitaldeath
Дата:
Сообщение: Re: odd deadlock on CREATE TABLE AS SELECT
Следующее
От: Robert Haas
Дата:
Сообщение: Re: BUG #5128: Returning nested composite types in plpython