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 <[email protected]>
Author: Fujii Masao <[email protected]>
Author: Nathan Bossart <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/CAA-aLv6UHXubNxmAjNH8PnyKKkaXePO1ggB15=iidnw08t4...@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(-)

Reply via email to