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

From Michael Paquier
Subject Re: potential stuck lock in SaveSlotToPath()
Date
Msg-id 20200402062150.GB112468@paquier.xyz
Whole thread Raw
In response to Re: potential stuck lock in SaveSlotToPath()  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: potential stuck lock in SaveSlotToPath()
List pgsql-hackers
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.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: ALTER tbl rewrite loses CLUSTER ON index
Next
From: "movead.li@highgo.ca"
Date:
Subject: Re: A bug when use get_bit() function for a long bytea string