Re: Slightly improve initdb --sync-only option's help message

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Slightly improve initdb --sync-only option's help message
Дата
Msg-id 3F4AB299-A440-445F-90D1-6E7BB22F4771@yesql.se
обсуждение исходный текст
Ответ на Re: Slightly improve initdb --sync-only option's help message  ("Bossart, Nathan" <bossartn@amazon.com>)
Ответы Re: Slightly improve initdb --sync-only option's help message
Список pgsql-hackers
> On 26 Jul 2021, at 20:05, Bossart, Nathan <bossartn@amazon.com> wrote:

> Here are my suggestions in patch form.

-    printf(_("  -S, --sync-only           only sync data directory\n"));
+    printf(_("  -S, --sync-only           safely write all database files to disk and exit\n"));

I think removing the word "only" here is a net loss, since it IMO clearly
conveyed that this option isn't doing any of the other initdb duties.  The
documentation states it in more words, but the help output must be brief so I
think "only" is a good keyword.

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Ronan Dunklau
Дата:
Сообщение: Re: pg_receivewal starting position
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: [PoC] Improve dead tuple storage for lazy vacuum