Re: Rare deadlock failure in create_am test

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Rare deadlock failure in create_am test
Date: 2020-09-04 16:41:23
Message-ID: 900025.1599237683@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ranier Vilela 2020-09-04 16:55:52 Re: [PATCH] Redudant initilization
Previous Message Konstantin Knizhnik 2020-09-04 15:59:17 Re: On login trigger: take three