Re: Rare deadlock failure in create_am test - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Rare deadlock failure in create_am test
Date
Msg-id 900025.1599237683@sss.pgh.pa.us
Whole thread Raw
In response to Re: Rare deadlock failure in create_am test  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2020-Sep-03, Tom Lane wrote:
>> I'm inclined to think that the best fix is to put
>> 
>> begin;
>> lock table [fast_emp4000];
>> ...
>> commit;
>> 
>> around the DROP CASCADE.

> Yeah, sounds good.

Done.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Konstantin Knizhnik
Date:
Subject: Re: On login trigger: take three
Next
From: Ranier Vilela
Date:
Subject: Re: [PATCH] Redudant initilization