From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Prevent printing "next step instructions" in initdb and pg_upgrade
Date: Tue, 06 Oct 2020 11:06:13 -0400
Message-ID: <1870066.1601996773@sss.pgh.pa.us> (raw)
In-Reply-To: <CABUevEwegSS9EHiEOBynodR3H-s1_-gCJ6FZ4gYx5E5V__=0gA@mail.gmail.com>
References: <CABUevEzo4t5bmTXF0_B9WzmuWpVbMpkNZZiGvzV8NZa-=fPqeQ@mail.gmail.com>
<1868569.1601994682@sss.pgh.pa.us>
<CABUevEwegSS9EHiEOBynodR3H-s1_-gCJ6FZ4gYx5E5V__=0gA@mail.gmail.com>
Magnus Hagander <magnus@hagander.net> writes:
> On Tue, Oct 6, 2020 at 4:31 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Hm, does it matter? I think those wrappers send the output to /dev/null
>> anyway.
> The debian ones don't, because they consider it useful information to the
> user. I'd say that it is, especially in the case of pg_upgrade. (Less so
> about initdb, but still a bit -- especially when creating secondary
> clusters)
> The redhat ones I believe sent it to a logfile, not to /dev/null. Meaning
> it's not in your face, but it still contains incorrect instructions.
OK. FWIW, I'd vote for separate --no-instructions and --no-scripts
switches.
regards, tom lane
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-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, magnus@hagander.net
Subject: Re: Prevent printing "next step instructions" in initdb and pg_upgrade
In-Reply-To: <1870066.1601996773@sss.pgh.pa.us>
References: <CABUevEzo4t5bmTXF0_B9WzmuWpVbMpkNZZiGvzV8NZa-=fPqeQ@mail.gmail.com> <1868569.1601994682@sss.pgh.pa.us> <CABUevEwegSS9EHiEOBynodR3H-s1_-gCJ6FZ4gYx5E5V__=0gA@mail.gmail.com> <1870066.1601996773@sss.pgh.pa.us>
* 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