Re: Add comments for a postgres program in bootstrap mode

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Add comments for a postgres program in bootstrap mode
Дата
Msg-id 20190927040312.GD8485@paquier.xyz
обсуждение исходный текст
Ответ на Re: Add comments for a postgres program in bootstrap mode  (Youki Shiraishi <shiraishi@computer.org>)
Ответы Re: Add comments for a postgres program in bootstrap mode  (Amit Langote <amitlangote09@gmail.com>)
Список pgsql-hackers
On Fri, Sep 27, 2019 at 12:29:08PM +0900, Youki Shiraishi wrote:
> I also vote to get rid of such ambiguous stuff.
> As you can see by grepping, "bootstrap-mode backend" (and something
> like that) is also called in the sources as:
>
> - bootstrap backend
> - (basic) bootstrap process
> - backend running in bootstrap mode
> - postgres (backend) program in bootstrap mode
> - bootstrapper
>
> I think "bootstrap backend" is a strong candidate for an alternative
> of "bootstrapper" because it is used in the official documentation of
> initdb.

It seems to me that "backend running in bootstrap mode" would be the
most consistent way to define that state in a backend process:
$ git grep -i "bootstrap mode backend" | wc -l
0
$ git grep -i "bootstrap-mode" | wc -l
0
$ git grep -i "bootstrap mode" | wc -l
68
$ git grep -i "bootstrap process" | wc -l
9

"bootstrapper" sounds weird.  My 2c.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: tab complete for explain SETTINGS
Следующее
От: Amit Langote
Дата:
Сообщение: Re: Add comments for a postgres program in bootstrap mode