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 1khZ3S-0006W2-M2 for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Nov 2020 14:12:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1khZ3R-0003VZ-LA for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Nov 2020 14:12:25 +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 1khZ3R-0003VS-Eb for pgsql-hackers@lists.postgresql.org; Tue, 24 Nov 2020 14:12:25 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khZ3N-0003g2-QN for pgsql-hackers@lists.postgresql.org; Tue, 24 Nov 2020 14:12:24 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1khZ3L-0000PB-Gf; Tue, 24 Nov 2020 09:12:19 -0500 Date: Tue, 24 Nov 2020 09:12:19 -0500 From: Bruce Momjian To: Magnus Hagander Cc: Peter Eisentraut , PostgreSQL Developers Subject: Re: Prevent printing "next step instructions" in initdb and pg_upgrade Message-ID: <20201124141219.GC29448@momjian.us> References: <20201027105308.GI4951@momjian.us> <20201027114000.GL4951@momjian.us> <898279ea-7b33-02a3-5357-6dc03bdef0ff@2ndquadrant.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, Nov 24, 2020 at 01:32:45PM +0100, Magnus Hagander wrote: > I think it boils down to that today the output from initdb is entirely > geared towards people running initdb directly and starting their > server manually, and very few people outside the actual PostgreSQL > developers ever do that. But there are still a lot of people who run > initdb through their wrapper manually (for redhat you have to do that, > for debian you only have to do it if you're creating a secondary > cluster but that still a pretty common operation). I think the big issue is that pg_upgrade not only output progress messages, but created files in the current directory, while initdb, by definition, is creating files in PGDATA. -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee