Add --no-instructions parameter to initdb
authorMagnus Hagander <magnus@hagander.net>
Sun, 17 Jan 2021 13:28:17 +0000 (14:28 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 17 Jan 2021 13:34:41 +0000 (14:34 +0100)
commite09155bd62f0ac5817cb3d736eb35adf4200549e
treee47746889a5eeffd211f38d43c53b43692f8a1bd
parent960869da0803427d14335bba24393f414b476e2c
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
doc/src/sgml/ref/initdb.sgml
src/bin/initdb/initdb.c