Make archiver process handle barrier events.
authorFujii Masao <fujii@postgresql.org>
Fri, 18 Jun 2021 08:57:09 +0000 (17:57 +0900)
committerFujii Masao <fujii@postgresql.org>
Fri, 18 Jun 2021 08:57:09 +0000 (17:57 +0900)
commit981524d2e3aa3f28d364c472e34f5386be846811
tree3733c2cf70be2eb1a85b087ce5d88e589adeee9e
parentf80979f659d39e238e95444e6752142799428078
Make archiver process handle barrier events.

Commit d75288fb27 made WAL archiver process an auxiliary process.
An auxiliary process needs to handle barrier events but the commit
forgot to make archiver process do that.

Reported-by: Thomas Munro
Author: Fujii Masao
Reviewed-by: Thomas Munro
Discussion: https://postgr.es/m/CA+hUKGLah2w1pWKHonZP_+EQw69=q56AHYwCgEN8GDzsRG_Hgw@mail.gmail.com
src/backend/postmaster/pgarch.c