Re: Should rename "startup process" to something else?

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: "Bossart, Nathan" <bossartn(at)amazon(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, Rushabh Lathia <rushabh(dot)lathia(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Should rename "startup process" to something else?
Date: 2021-11-20 05:50:40
Message-ID: YZiMsK969rI41Tpz@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Nov 19, 2021 at 11:45:40PM +0000, Bossart, Nathan wrote:
> +1 to something like "wal replay" or "wal apply." My view is that
> terms like "startup" and "recovery" indicate the goal of the process
> while "replay" and "apply" just explain what it does. This would be
> in line with the other processes (e.g., the WAL receiver receives WAL,
> the checkpointer checkpoints, and the archiver archives). I don't
> have any strong opinion about it being two words, but maybe I am just
> conditioned from seeing walreceiver, walsender, and walwriter so
> often.

If we want to play the card of consistency with the existing names,
that would be "walreplayer", then. Jokes apart, "WAL replay" sounds
fine to me :)

I would be tempted to do more than that, though, bite the bullet and
go as far as renaming walsender to "WAL sender", "walreceiver" to "WAL
receiver", and "walwriter" to "WAL writer", even if that means
potentially breaking scripts monitoring ps outputs.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-11-20 05:55:16 Re: XLogReadRecord() error in XlogReadTwoPhaseData()
Previous Message Michael Paquier 2021-11-20 05:46:02 Re: Pasword expiration warning