mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add --no-instructions parameter to initdb
Specifying this parameter removes the informational messages about how to start the server. This is intended for use by wrappers in different packaging systems, where those instructions would most likely be wrong anyway, but the other output from initdb would still be useful (and thus just redirecting everything to /dev/null would be bad). Author: Magnus Hagander Reviewed-By: Peter Eisentraut Discusion: https://postgr.es/m/CABUevEzo4t5bmTXF0_B9WzmuWpVbMpkNZZiGvzV8NZa-=fPqeQ@mail.gmail.com
This commit is contained in:
@ -275,6 +275,19 @@ PostgreSQL documentation
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--no-instructions</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
By default, <command>initdb</command> will write instructions for how
|
||||
to start the cluster at the end of its output. This option causes
|
||||
those instructions to be left out. This is primarily intended for use
|
||||
by tools that wrap <command>initdb</command> in platform specific
|
||||
behavior, where those instructions are likely to be incorrect.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--pwfile=<replaceable>filename</replaceable></option></term>
|
||||
<listitem>
|
||||
|
Reference in New Issue
Block a user