Re: DOCS - Server Applications [option] should be [option...]

From: Peter Smith <smithpb2250(at)gmail(dot)com>
To: Andreas Karlsson <andreas(at)proxel(dot)se>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: DOCS - Server Applications [option] should be [option...]
Date: 2026-02-19 01:56:51
Message-ID: CAHut+PvxdeQbue34BeJeJG-t5nive0sXF35J5viT0GMQ-cZY3Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Feb 19, 2026 at 8:32 AM Andreas Karlsson <andreas(at)proxel(dot)se> wrote:
>
...
>
> Side note: that looks like a bug, shouldn't it be the below?
>
> initdb [option...] [[ --pgdata | -D ] directory]
>

You will have noticed that I am trying to keep each of these recent
threads/patches narrowly focussed on just one specific problem at a
time.

Last year I had tried fixing many of these same problems at once but
that thread went in too many directions at once, and got bogged down
eventually forgotten about. I hope this focussed thread strategy has a
better chance of success.

~

But yes, I agree with you. The Option description [1] says "This is
the only information required by initdb, but you can avoid writing it
by..."

Feel free to post a thread / patch for this, or else I can add it to
my list and get to it sometime.

======
[1] https://www.postgresql.org/docs/devel/app-initdb.html#APP-INITDB-OPTION-PGDATA

Kind Regards,
Peter Smith.
Fujitsu Australia

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2026-02-19 02:15:36 Re: [PATCH] Support automatic sequence replication
Previous Message Jacob Champion 2026-02-19 00:46:48 Re: Make PGOAUTHCAFILE in libpq-oauth work out of debug mode