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 872415.1599227915@sss.pgh.pa.us
Whole thread Raw
In response to Re: Rare deadlock failure in create_am test  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> On Fri, Sep 4, 2020 at 2:13 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I'm inclined to think that the best fix is to put
>> 
>> begin;
>> lock table tenk2;
>> ...
>> commit;

> Makes sense, except s/tenk2/fast_emp4000/, no?

Sorry, thinko ...

            regards, tom lane



pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: Ideas about a better API for postgres_fdw remote estimates
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCH] Redudant initilization