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

From Bharath Rupireddy
Subject Re: Remove redundant HandleWalWriterInterrupts()
Date
Msg-id CALj2ACUeN76C=uSF8emtf_t5S6-Vp1o6ozo7r0hOQEj=LjEerA@mail.gmail.com
Whole thread Raw
In response to Remove redundant HandleWalWriterInterrupts()  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Remove redundant HandleWalWriterInterrupts()
List pgsql-hackers
On Wed, Jan 24, 2024 at 5:50 PM Fujii Masao <masao.fujii@gmail.com> wrote:
>
> Hi,
>
> 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.

--
Bharath Rupireddy
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: UUID v7
Next
From: Alvaro Herrera
Date:
Subject: Re: make BuiltinTrancheNames less ugly