Remove redundant HandleWalWriterInterrupts().
authorFujii Masao <fujii@postgresql.org>
Thu, 25 Jan 2024 03:50:08 +0000 (12:50 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 25 Jan 2024 03:50:08 +0000 (12:50 +0900)
commita044e61f1b97ceb80a198c0ae22c07c35dda39eb
tree5b91ade89a1489fbbafa04bce7c7edf82e49171b
parent820b5af73dcc6a5d0db6a98a62a6b859e5d107b6
Remove redundant HandleWalWriterInterrupts().

Because of commit 1bdd54e662, the code of HandleWalWriterInterrupts()
became the same as HandleMainLoopInterrupts(). So this commit removes
HandleWalWriterInterrupts() and makes walwriter use
HandleMainLoopInterrupts() for improved code simplicity.

Author: Fujii Masao
Reviewed-by: Bharath Rupireddy, Nathan Bossart
Discussion: https://postgr.es/m/CAHGQGwHUtwCsB4DnqFLiMiVzjcA=zmeCKf9_pgQM-yJopydatw@mail.gmail.com
src/backend/postmaster/walwriter.c