Re: Remove redundant HandleWalWriterInterrupts() - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Remove redundant HandleWalWriterInterrupts()
Date
Msg-id 20240124194019.GB2711912@nathanxps13
Whole thread Raw
In response to Re: Remove redundant HandleWalWriterInterrupts()  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Responses Re: Remove redundant HandleWalWriterInterrupts()
List pgsql-hackers
On Wed, Jan 24, 2024 at 07:30:17PM +0530, Bharath Rupireddy wrote:
> On Wed, Jan 24, 2024 at 5:50 PM Fujii Masao <masao.fujii@gmail.com> wrote:
>> Because of commit 1bdd54e662, the code of HandleWalWriterInterrupts()
>> became the same as HandleMainLoopInterrupts(). So I'd like to propose to
>> remove HandleWalWriterInterrupts() and make walwriter use
>> HandleMainLoopInterrupts() instead for improved code simplicity. Thought?
>>
>> Patch attached.
> 
> Nice catch. Indeed they both are the same after commit 1bdd54e662. The
> patch LGTM.

LGTM, too.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: cleanup patches for incremental backup
Next
From: Alexander Korotkov
Date:
Subject: Re: POC: GROUP BY optimization