Make archiver process handle barrier events.

Fujii Masao <fujii@postgresql.org>

Commit: 981524d2e3aa3f28d364c472e34f5386be846811
Author: Fujii Masao <fujii@postgresql.org>
Date: 2021-06-18T08:57:09Z
Releases: 14.0
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

Files

PathChange+/−
src/backend/postmaster/pgarch.c modified +27 −14

Discussion

Cited messages not in the archive: CA+hUKGLah2w1pWKHonZP_+EQw69=q56AHYwCgEN8GDzsRG_Hgw@mail.gmail.com