pgsql: Add --no-instructions parameter to initdb

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add --no-instructions parameter to initdb
Date: 2021-01-17 13:38:06
Message-ID: E1l18Fq-0008Uv-PA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2021-01-17 14:19:31 pgsql: Revert "psql \dX: list extended statistics objects"
Previous Message Magnus Hagander 2021-01-17 13:07:03 pgsql: Add pg_stat_database counters for sessions and session time