Rename PGPROC->vacuumFlags to statusFlags
Alvaro Herrera <alvherre@alvh.no-ip.org>
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.GB3730@paquier.xyz Author: Dmitry Dolgov <9erthalion6@gmail.com> Reviewed-by: Álvaro Herrera <alvherre@alvh.no-ip.org> Discussion: https://postgr.es/m/20201116182446.qcg3o6szo2zookyr@localhost
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/twophase.c | modified | +1 −1 |
| src/backend/commands/vacuum.c | modified | +3 −3 |
| src/backend/postmaster/autovacuum.c | modified | +3 −3 |
| src/backend/replication/logical/logical.c | modified | +2 −2 |
| src/backend/replication/slot.c | modified | +2 −2 |
| src/backend/storage/ipc/procarray.c | modified | +27 −27 |
| src/backend/storage/lmgr/deadlock.c | modified | +2 −2 |
| src/backend/storage/lmgr/proc.c | modified | +10 −10 |
| src/include/storage/proc.h | modified | +7 −6 |
Discussion
- remove spurious CREATE INDEX CONCURRENTLY wait 64 messages · 2020-08-10 → 2021-11-11