pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Rare deadlock failure in create_am test
Date: Fri, 04 Sep 2020 12:41:23 -0400
Message-ID: <900025.1599237683@sss.pgh.pa.us> (raw)
In-Reply-To: <20200904142033.GA8294@alvherre.pgsql>
References: <20200904142033.GA8294@alvherre.pgsql>

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





view thread (6+ messages)  latest in thread

Message-ID: <900025.1599237683@sss.pgh.pa.us>
Permalink:  ../900025.1599237683@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/900025.1599237683@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Rare deadlock failure in create_am test
  In-Reply-To: <900025.1599237683@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox