Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPo00-0006HE-Bi for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Oct 2020 14:31:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kPnzz-0006xA-9e for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Oct 2020 14:31:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPnzz-0006x2-32 for pgsql-hackers@lists.postgresql.org; Tue, 06 Oct 2020 14:31:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPnzx-0000QW-2d for pgsql-hackers@lists.postgresql.org; Tue, 06 Oct 2020 14:31:26 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 096EVMUq1868570; Tue, 6 Oct 2020 10:31:22 -0400 From: Tom Lane To: Magnus Hagander cc: PostgreSQL Developers Subject: Re: Prevent printing "next step instructions" in initdb and pg_upgrade In-reply-to: References: Comments: In-reply-to Magnus Hagander message dated "Tue, 06 Oct 2020 12:26:26 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1868568.1601994682.1@sss.pgh.pa.us> Date: Tue, 06 Oct 2020 10:31:22 -0400 Message-ID: <1868569.1601994682@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Magnus Hagander writes: > The use case for this is for example the debian or redhat package wrappers. > When these commands are run under those wrappers the printed instructions > are *wrong*. It's better in that case to exclude them, and let the wrapper > be responsible for printing the correct instructions. Hm, does it matter? I think those wrappers send the output to /dev/null anyway. regards, tom lane