Fix advertising autovacuum launcher's ProcNumber
Autovacuum launcher is not an aux process, so it needs to be
advertised in InitProcess() rather than InitAuxiliaryProcess()
In the passing, also remove some now-unnecessary 'volatile' qualifiers
left behind by the same commit.
Reported-by: Thom Brown <thom@linux.com>
Author: Fujii Masao <masao.fujii@gmail.com>
Author: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://www.postgresql.org/message-id/CAA-aLv6UHXubNxmAjNH8PnyKKkaXePO1ggB15=iidNW08T4hSg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/dff789e555404571cc76097c1539e93dc7f2e3de
Modified Files
--------------
src/backend/postmaster/checkpointer.c | 6 ++----
src/backend/storage/lmgr/proc.c | 17 ++++++++++-------
src/include/storage/proc.h | 3 ++-
3 files changed, 14 insertions(+), 12 deletions(-)