Re: Duplicate key insert question

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Duplicate key insert question
Дата
Msg-id 20030702015314.GQ27363@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: Duplicate key insert question  ("Dann Corbit" <DCorbit@connx.com>)
Список pgsql-general
On Tue, Jul 01, 2003 at 06:48:29PM -0700, Dann Corbit wrote:

> I assume that PostgreSQL would simply time out both transactions if it
> happened in a deadly-embrace pair?
>
> I searched the PG docs, but could not find a clear answer.

No, the deadlock will the detected and one of the transactions will be
aborted.  This should happen within a second or so (configurable,
AFAIR).  The other transaction will continue normally.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"El que vive para el futuro es un iluso, y el que vive para el pasado,
un imbécil" (Luis Adler, "Los tripulantes de la noche")

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

Предыдущее
От: "Dann Corbit"
Дата:
Сообщение: Re: Duplicate key insert question
Следующее
От: Joe Conway
Дата:
Сообщение: Re: ERROR: language "c" is not trusted