diff options
author | Magnus Hagander <magnus@hagander.net> | 2021-01-17 14:28:17 +0100 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2021-01-17 14:34:41 +0100 |
commit | e09155bd62f0ac5817cb3d736eb35adf4200549e (patch) | |
tree | e47746889a5eeffd211f38d43c53b43692f8a1bd /doc/src | |
parent | 960869da0803427d14335bba24393f414b476e2c (diff) | |
download | postgresql-e09155bd62f0ac5817cb3d736eb35adf4200549e.tar.gz postgresql-e09155bd62f0ac5817cb3d736eb35adf4200549e.zip |
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
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/initdb.sgml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/initdb.sgml b/doc/src/sgml/ref/initdb.sgml index 385ac251506..995d78408e5 100644 --- a/doc/src/sgml/ref/initdb.sgml +++ b/doc/src/sgml/ref/initdb.sgml @@ -276,6 +276,19 @@ PostgreSQL documentation </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> <para> |