Re: Slightly improve initdb --sync-only option's help message - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Slightly improve initdb --sync-only option's help message
Date
Msg-id 3F4AB299-A440-445F-90D1-6E7BB22F4771@yesql.se
Whole thread Raw
In response to Re: Slightly improve initdb --sync-only option's help message  ("Bossart, Nathan" <bossartn@amazon.com>)
Responses Re: Slightly improve initdb --sync-only option's help message
List 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 by date:

Previous
From: Ronan Dunklau
Date:
Subject: Re: pg_receivewal starting position
Next
From: Masahiko Sawada
Date:
Subject: Re: [PoC] Improve dead tuple storage for lazy vacuum