Remove redundant HandleWalWriterInterrupts()

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Remove redundant HandleWalWriterInterrupts()
Date: 2024-01-24 12:20:17
Message-ID: CAHGQGwHUtwCsB4DnqFLiMiVzjcA=zmeCKf9_pgQM-yJopydatw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Regards,

--
Fujii Masao

Attachment Content-Type Size
v1-0001-Remove-redundant-HandleWalWriterInterrupts.patch application/octet-stream 1.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavlo Golub 2024-01-24 12:24:47 GSoC 2024
Previous Message Andrew Dunstan 2024-01-24 12:15:55 Re: Make COPY format extendable: Extract COPY TO format implementations