Re: CIC and deadlocks - Mailing list pgsql-hackers

From Tom Lane
Subject Re: CIC and deadlocks
Date
Msg-id 5980.1175355510@sss.pgh.pa.us
Whole thread Raw
In response to CIC and deadlocks  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Responses Re: CIC and deadlocks
List 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 by date:

Previous
From:
Date:
Subject: Re: Last minute mini-proposal (I know, I know) forPQexecf()
Next
From: Tom Lane
Date:
Subject: Re: Last minute mini-proposal (I know, I know) forPQexecf()