Re: Deadlock during CREATE INDEX CONCURRENTLY, but index still created - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: Deadlock during CREATE INDEX CONCURRENTLY, but index still created
Date
Msg-id BANLkTimKaXXjG6Ga5B+9=t5GtG5ofLUV2Q@mail.gmail.com
Whole thread Raw
In response to Deadlock during CREATE INDEX CONCURRENTLY, but index still created  (Florian Weimer <fweimer@bfk.de>)
Responses Re: Deadlock during CREATE INDEX CONCURRENTLY, but index still created  (Florian Weimer <fweimer@bfk.de>)
List pgsql-admin
On Wed, May 18, 2011 at 9:19 AM, Florian Weimer <fweimer@bfk.de> wrote:
> I've run two CREATE INDEX CONCURRENTLY on the same table in parallel,
> and one of them errored out with:
> The curious thing is that both indexes were created.  I would have
> expected that the creation of idx1 would be rolled back.
>
> Are both of the usable, or should I re-create idx1 from scratch?

They should be marked invalid.

pgsql-admin by date:

Previous
From: Florian Weimer
Date:
Subject: Deadlock during CREATE INDEX CONCURRENTLY, but index still created
Next
From: Florian Weimer
Date:
Subject: Re: Deadlock during CREATE INDEX CONCURRENTLY, but index still created