Re: postgresql93-9.3.5: deadlock when updating parent table expected? - Mailing list pgsql-general

From Dmitry O Litvintsev
Subject Re: postgresql93-9.3.5: deadlock when updating parent table expected?
Date
Msg-id C15F9B88FF75254CACAE9A261BE9CD7A03EEFC80@MAIL02.fnal.gov
Whole thread Raw
In response to Re: postgresql93-9.3.5: deadlock when updating parent table expected?  (Bill Moran <wmoran@potentialtech.com>)
Responses Re: postgresql93-9.3.5: deadlock when updating parent table expected?  (Bill Moran <wmoran@potentialtech.com>)
List pgsql-general
Thank you, Bill,

Yes, deadlock occurs when there are multiple processes insert
concurrently into file table with the same volume id field.
I used "sometimes"  as opposed to "all the time".

I think you advise to retry transaction or add select for update prior
to insert. I will pursue this (together with upgrade to 9.3.6 suggested by
Alvaro).

Thanks,
Dmitry


pgsql-general by date:

Previous
From: Guillaume Drolet
Date:
Subject: Re: Starting new cluster from base backup
Next
From: Adrian Klaver
Date:
Subject: Re: Starting new cluster from base backup