Add --no-instructions parameter to initdb

Magnus Hagander <magnus@hagander.net>

Commit: e09155bd62f0ac5817cb3d736eb35adf4200549e
Author: Magnus Hagander <magnus@hagander.net>
Date: 2021-01-17T13:34:41Z
Releases: 14.0
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

Files

PathChange+/−
doc/src/sgml/ref/initdb.sgml modified +13 −0
src/bin/initdb/initdb.c modified +34 −22

Documentation touched