pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Magnus Hagander <magnus@hagander.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add --no-instructions parameter to initdb
Date: Sun, 17 Jan 2021 13:38:06 +0000
Message-ID: <E1l18Fq-0008Uv-PA@gemulon.postgresql.org> (raw)

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



Message-ID: <E1l18Fq-0008Uv-PA@gemulon.postgresql.org>
Permalink:  ../E1l18Fq-0008Uv-PA@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1l18Fq-0008Uv-PA@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: magnus@hagander.net
  Subject: Re: pgsql: Add --no-instructions parameter to initdb
  In-Reply-To: <E1l18Fq-0008Uv-PA@gemulon.postgresql.org>
  References: <E1l18Fq-0008Uv-PA@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox