Re: Remove redundant HandleWalWriterInterrupts()

From: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Remove redundant HandleWalWriterInterrupts()
Date: 2024-01-24 14:00:17
Message-ID: CALj2ACUeN76C=uSF8emtf_t5S6-Vp1o6ozo7r0hOQEj=LjEerA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 24, 2024 at 5:50 PM Fujii Masao <masao(dot)fujii(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2024-01-24 14:09:49 Re: make BuiltinTrancheNames less ugly
Previous Message Aleksander Alekseev 2024-01-24 13:29:50 Re: UUID v7