Re: WAL insert delay settings

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WAL insert delay settings
Date: 2019-02-13 15:39:21
Message-ID: 987c0f78-d9c3-9ec4-5951-5503419d0d58@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2019-02-13 15:40:08 Re: reducing isolation tests runtime
Previous Message Daniel Verite 2019-02-13 15:38:50 replace_text optimization (StringInfo to varlena)