pgsql: autovacuum: Improve wording in a couple places - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: autovacuum: Improve wording in a couple places
Date
Msg-id E1mpBjQ-0007ex-28@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
autovacuum: Improve wording in a couple places

A few strings (one WARNING and some memory context names) in the
autovacuum code were written in a world where "worker" had no other
possible meaning than "autovacuum worker", but that's long time gone.
Be more specific about it.

Also, change the WARNING from elog() to ereport(), to add translability.

Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Reviewed-by: Nathan Bossart <bossartn@amazon.com>
Reviewed-by: Justin Pryzby <pryzby@telsasoft.com>
Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reviewed-by: Dilip Kumar <dilipbalaut@gmail.com>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>
Discussion: https://postgr.es/m/CALj2ACX2UHp76dqdoZq92a7v4APFuV5wJQ+AUrb+2HURrKN=NQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/042412879e35791a65509f2786b4954a273466e5

Modified Files
--------------
src/backend/postmaster/autovacuum.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Add missing words in comment
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Require version 0.98 of Test::More for TAP tests