reindex table deadlock - Mailing list pgsql-general

From Dan H
Subject reindex table deadlock
Date
Msg-id CAE9wFP0GXBJ83J5zZOzweHgtXBb7NWZJprB1kSxMMi7-ozMBTg@mail.gmail.com
Whole thread Raw
Responses Re: reindex table deadlock
List pgsql-general
Hi,

I encountered a deadlock while running 'reindex table TABLE1' in
postgresql version 9.2.4
The postgresql logs shows the two offending processes.

1st process was running reindex table TABLE1
waiting for AccessExclusiveLock on primary key index of TABLE1

2nd process was running stored procedure that executes selects and
deletes to TABLE1
waiting for RowExclusiveLock on TABLE1.

Is this the same lock upgrade deadlock issue that someone has
previously mentioned with reindex?


pgsql-general by date:

Previous
From: pbj@cmicdo.com
Date:
Subject: Re: Performance of UPDATE SET = FROM vs UPDATE SET = (SELECT ...)
Next
From: avpro avpro
Date:
Subject: Fwd: function for trigger