Rename PGPROC->vacuumFlags to statusFlags
authorAlvaro Herrera <[email protected]>
Mon, 16 Nov 2020 22:42:55 +0000 (19:42 -0300)
committerAlvaro Herrera <[email protected]>
Mon, 16 Nov 2020 22:42:55 +0000 (19:42 -0300)
commitcd9c1b3e197a9b53b840dcc87eb41b04d601a5f9
treea0001bf1053150ed78e78d2b26352e131668b799
parent4025e6c46620048804467d2ad29d31aa9ba50387
Rename PGPROC->vacuumFlags to statusFlags

With more flags associated to a PGPROC entry that are not related to
vacuum (currently existing or planned), the name "statusFlags" describes
its purpose better.

(The same is done to the mirroring PROC_HDR->vacuumFlags.)

No functional changes in this commit.

This was suggested first by Hari Babu Kommi in [1] and then by Michael
Paquier at [2].

[1] https://postgr.es/m/CAJrrPGcsDC-oy1AhqH0JkXYa0Z2AgbuXzHPpByLoBGMxfOZMEQ@mail.gmail.com
[2] https://postgr.es/m/20200820060929[email protected]

Author: Dmitry Dolgov <[email protected]>
Reviewed-by: Álvaro Herrera <[email protected]>
Discussion: https://postgr.es/m/20201116182446.qcg3o6szo2zookyr@localhost
src/backend/access/transam/twophase.c
src/backend/commands/vacuum.c
src/backend/postmaster/autovacuum.c
src/backend/replication/logical/logical.c
src/backend/replication/slot.c
src/backend/storage/ipc/procarray.c
src/backend/storage/lmgr/deadlock.c
src/backend/storage/lmgr/proc.c
src/include/storage/proc.h