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 1khwnH-0001Ml-3s for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Nov 2020 15:33:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1khwnF-0006HG-7E for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Nov 2020 15:33:17 +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 1khwnE-0006H9-VT for pgsql-hackers@lists.postgresql.org; Wed, 25 Nov 2020 15:33:16 +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 1khwnC-0007mC-Un for pgsql-hackers@lists.postgresql.org; Wed, 25 Nov 2020 15:33:16 +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 0APFX92X440380; Wed, 25 Nov 2020 10:33:09 -0500 From: Tom Lane To: Magnus Hagander cc: Peter Eisentraut , Bruce Momjian , PostgreSQL Developers Subject: Re: Prevent printing "next step instructions" in initdb and pg_upgrade In-reply-to: References: <20201027105308.GI4951@momjian.us> <20201027114000.GL4951@momjian.us> <898279ea-7b33-02a3-5357-6dc03bdef0ff@2ndquadrant.com> <71813699-2992-fbde-1787-27f216f1ef35@2ndquadrant.com> Comments: In-reply-to Magnus Hagander message dated "Wed, 25 Nov 2020 16:25:56 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <440376.1606318389.1@sss.pgh.pa.us> Date: Wed, 25 Nov 2020 10:33:09 -0500 Message-ID: <440377.1606318389@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Magnus Hagander writes: > I guess one option could be to just remove it, unconditionally. And > assume that any users who is running it manually read that in docs > somewhere that tells them what to do next, and that any user who's > running it under a wrapper will have the wrapper set it up? I could get behind that, personally. (1) I think most end-users don't run initdb by hand anymore. (2) The message is barely useful; what it mostly does is to distract your attention from the slightly more useful info printed ahead of it. >> would be, though. Maybe we need to add some kind of text adventure game >> into initdb. > I do like this idea though... +1 regards, tom lane