Обсуждение: pgsql: Add --no-instructions parameter to initdb

Поиск
Список
Период
Сортировка

pgsql: Add --no-instructions parameter to initdb

От
Magnus Hagander
Дата:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e09155bd62f0ac5817cb3d736eb35adf4200549e

Modified Files
--------------
doc/src/sgml/ref/initdb.sgml | 13 ++++++++++
src/bin/initdb/initdb.c      | 56 +++++++++++++++++++++++++++-----------------
2 files changed, 47 insertions(+), 22 deletions(-)