Re: CIC and deadlocks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CIC and deadlocks
Дата
Msg-id 5980.1175355510@sss.pgh.pa.us
обсуждение исходный текст
Ответ на CIC and deadlocks  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Ответы Re: CIC and deadlocks
Список pgsql-hackers
"Pavan Deolasee" <pavan.deolasee@gmail.com> writes:
> Isn't CREATE INDEX CONCURRENTLY prone deadlock conditions ?

Can you give a specific example?  The deadlock code will grant locks
out-of-order in cases where the alternative is to abort somebody.
I think you may be describing a missed opportunity in that logic,
more than a reason to add still another fragile assumption for HOT.
        regards, tom lane


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