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 1l8lOI-00045e-4m for pgsql-hackers@arkaria.postgresql.org; Sun, 07 Feb 2021 14:50:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l8lOF-0001MA-JC for pgsql-hackers@arkaria.postgresql.org; Sun, 07 Feb 2021 14:50:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l8lOF-0001M3-83 for pgsql-hackers@lists.postgresql.org; Sun, 07 Feb 2021 14:50:19 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l8lOC-0001S3-Od for pgsql-hackers@lists.postgresql.org; Sun, 07 Feb 2021 14:50:18 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1l8lOA-0005IX-Fh; Sun, 07 Feb 2021 09:50:14 -0500 Date: Sun, 7 Feb 2021 09:50:14 -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: <20210207145014.GA18363@momjian.us> References: <20201027105308.GI4951@momjian.us> <20201027114000.GL4951@momjian.us> <798ee419-d9fc-075a-932c-2c16420eb39c@2ndquadrant.com> <455845d1-441d-cc40-d2a7-b47f4e422489@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 Sun, Feb 7, 2021 at 11:21:05AM +0100, Magnus Hagander wrote: > > It appears that there is an extra blank line in the initdb output before > > "Success" now. > > Oops, clearly it does. > > That said, the full output is: > > """ > Success. You can now start the database server using: > > bin/pg_ctl -D /tmp/data -l logfile start > > > Success. > """ > > Isn't the whole "Success." at the end redundant here, and we should > just end the message after the pg_ctl command? So not just the extra > newline, but the whole thing? Agreed. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee