Re: potential stuck lock in SaveSlotToPath() - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: potential stuck lock in SaveSlotToPath()
Date
Msg-id 309c35bf-4279-2303-4db6-3b6ae8e5adf0@2ndquadrant.com
Whole thread Raw
In response to Re: potential stuck lock in SaveSlotToPath()  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On 2020-04-02 08:21, Michael Paquier wrote:
> On Wed, Apr 01, 2020 at 04:26:25PM +0200, Peter Eisentraut wrote:
>> Good catch.  How about the attached patch?
> 
> WFM.  Another trick would be to call LWLockRelease() after generating
> the log, but I find your patch more consistent with the surroundings.

done

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: Add A Glossary
Next
From: Jaime Casanova
Date:
Subject: segmentation fault using currtid and partitioned tables