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

From Peter Eisentraut
Subject Re: WAL insert delay settings
Date
Msg-id 987c0f78-d9c3-9ec4-5951-5503419d0d58@2ndquadrant.com
Whole thread Raw
In response to Re: WAL insert delay settings  (Andres Freund <andres@anarazel.de>)
Responses Re: WAL insert delay settings  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
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.

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


pgsql-hackers by date:

Previous
From: "Daniel Verite"
Date:
Subject: replace_text optimization (StringInfo to varlena)
Next
From: Alvaro Herrera
Date:
Subject: Re: reducing isolation tests runtime