autovacuum: Improve wording in a couple places
authorAlvaro Herrera <[email protected]>
Mon, 22 Nov 2021 15:55:36 +0000 (12:55 -0300)
committerAlvaro Herrera <[email protected]>
Mon, 22 Nov 2021 15:55:36 +0000 (12:55 -0300)
commit042412879e35791a65509f2786b4954a273466e5
tree4a773a2642ae3bba201e96dbc0f3d30c11e9c5e6
parent67385544ce672a9a53cfd51b39c1ff9048d65585
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 <[email protected]>
Reviewed-by: Nathan Bossart <[email protected]>
Reviewed-by: Justin Pryzby <[email protected]>
Reviewed-by: Kyotaro Horiguchi <[email protected]>
Reviewed-by: Dilip Kumar <[email protected]>
Reviewed-by: Masahiko Sawada <[email protected]>
Discussion: https://postgr.es/m/CALj2ACX2UHp76dqdoZq92a7v4APFuV5wJQ+AUrb+2HURrKN=NQ@mail.gmail.com
src/backend/postmaster/autovacuum.c