pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: 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, 6 Oct 2020 11:22:11 -0400
Message-ID: <20201006152211.GC3686@momjian.us> (raw)
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>

On Tue, Oct  6, 2020 at 11:06:13AM -0400, Tom Lane wrote:
> 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.

Works for me.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee






view thread (43+ messages)  latest in thread

Message-ID: <20201006152211.GC3686@momjian.us>
Permalink:  ../20201006152211.GC3686@momjian.us/
Also on:    postgresql.org/message-id/20201006152211.GC3686@momjian.us

 · 

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-hackers@postgresql.org
  Cc: bruce@momjian.us, tgl@sss.pgh.pa.us, magnus@hagander.net
  Subject: Re: Prevent printing "next step instructions" in initdb and pg_upgrade
  In-Reply-To: <20201006152211.GC3686@momjian.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> <20201006152211.GC3686@momjian.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