Re: WAL insert delay settings - Mailing list pgsql-hackers

From Andres Freund
Subject Re: WAL insert delay settings
Date
Msg-id 192CE593-A1DF-4BBE-8E89-F61CD359A39B@anarazel.de
Whole thread Raw
In response to Re: WAL insert delay settings  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: WAL insert delay settings
List pgsql-hackers

On February 13, 2019 4:39:21 PM GMT+01:00, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
>On 13/02/2019 13:18, Andres Freund wrote:
>> But I don't think the way you did it is acceptable - we can't just
>delay while holding buffer locks, in critical sections, while not
>interruptible.
>
>The code I added to XLogInsertRecord() is not inside the critical
>section.

Most callers do xlog insertions inside crit sections though.

Andres

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: reducing isolation tests runtime
Next
From: Tom Lane
Date:
Subject: Re: reducing isolation tests runtime