pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Rename PGPROC->vacuumFlags to statusFlags
Date: Mon, 16 Nov 2020 22:43:55 +0000
Message-ID: <E1kenE3-00070O-JO@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cd9c1b3e197a9b53b840dcc87eb41b04d601a5f9

Modified Files
--------------
src/backend/access/transam/twophase.c     |  2 +-
src/backend/commands/vacuum.c             |  6 ++--
src/backend/postmaster/autovacuum.c       |  6 ++--
src/backend/replication/logical/logical.c |  4 +--
src/backend/replication/slot.c            |  4 +--
src/backend/storage/ipc/procarray.c       | 54 +++++++++++++++----------------
src/backend/storage/lmgr/deadlock.c       |  4 +--
src/backend/storage/lmgr/proc.c           | 20 ++++++------
src/include/storage/proc.h                | 13 ++++----
9 files changed, 57 insertions(+), 56 deletions(-)



Message-ID: <E1kenE3-00070O-JO@gemulon.postgresql.org>
Permalink:  ../E1kenE3-00070O-JO@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kenE3-00070O-JO@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Rename PGPROC->vacuumFlags to statusFlags
  In-Reply-To: <E1kenE3-00070O-JO@gemulon.postgresql.org>
  References: <E1kenE3-00070O-JO@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox