Re: TopoSort() fix - Mailing list pgsql-hackers

From Tom Lane
Subject Re: TopoSort() fix
Date
Msg-id 19329.1564459562@sss.pgh.pa.us
Whole thread Raw
In response to Re: TopoSort() fix  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2019-Jul-29, Tom Lane wrote:
>> FYI, I just got done inventing a way to reach that code, and I have
>> to suspect that it's impossible to do so in production, because under
>> ordinary circumstances no parallel worker will take any exclusive lock
>> that isn't already held by its leader.

> Hmm, okay, so this wasn't a bug that would have bit anyone in practice,
> yeah?  That's reassuring.

At the least, you'd have to go well out of your way to make it happen.

            regards, tom lane



pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: Re: Is ParsePrepareRecord dead function
Next
From: Jeevan Chalke
Date:
Subject: Re: block-level incremental backup