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 1kXNGx-0001ay-R8 for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Oct 2020 11:36:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kXNGw-0008Rv-8w for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Oct 2020 11:36:14 +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 1kXNGv-0008R8-7y for pgsql-hackers@lists.postgresql.org; Tue, 27 Oct 2020 11:36:14 +0000 Received: from [66.111.4.238] (helo=forward4-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXNGr-0005La-Hy for pgsql-hackers@lists.postgresql.org; Tue, 27 Oct 2020 11:36:12 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.nyi.internal (Postfix) with ESMTP id 24ED219407FD; Tue, 27 Oct 2020 07:35:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 27 Oct 2020 07:35:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=N7niK5M/3hT6rWT4lmhV7z6yO9QyveWtKmSm8xJsQ w8=; b=dT6Y/i+tWy7Bp2AYM49VsEGw+waUBcizGMhKOqviM90LxaQL0ToH3oJjn 7eHpn8qL/1PZKwOLDv10iHPPA/f8PobNdyNG+bS+2mOkUes5B2EZ0676UENo+eQ/ 2YAmYMZ5LQtOzfN1HP+n/7wDfUYjXRVONMnXBUgZEyzxuoj5A1GA9qTclMowFTPO RmhAZz1xIfo6Fycqhnzvra/hbnIum6uP5Zw1niRfF8Q4J13ZPBAhofWo0LlqXBD8 Wxe/gv6fyAs6YPzFaiKZhFvEgDfSep0H76aqe8HEhPvw3QXJ84h1NSmkLyvEGQ9v Dxe4r3xCtPTrDwHGhQyMPQhqgepLg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrkeelgdeftdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhfhokffffgggjggtgfesthejredttdefjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsedvnhguqh hurggurhgrnhhtrdgtohhmqeenucggtffrrghtthgvrhhnpedtveeghedtjedvvedvleej ueevjeejtdellefgkeelfeeikeejlefgkedtudeuvdenucffohhmrghinhepvdhnughquh grughrrghnthdrtghomhenucfkphepkeejrddujeejrdejuddrvddvjeenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvg hnthhrrghuthesvdhnughquhgrughrrghnthdrtghomh X-ME-Proxy: Received: from april.pezone.net (p57b147e3.dip0.t-ipconnect.de [87.177.71.227]) by mail.messagingengine.com (Postfix) with ESMTPA id 2F9783280064; Tue, 27 Oct 2020 07:35:57 -0400 (EDT) Subject: Re: Prevent printing "next step instructions" in initdb and pg_upgrade To: Bruce Momjian References: <20201027105308.GI4951@momjian.us> Cc: Magnus Hagander , PostgreSQL Developers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Tue, 27 Oct 2020 12:35:56 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20201027105308.GI4951@momjian.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.111.4.238 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-10-27 11:53, Bruce Momjian wrote: > On Tue, Oct 27, 2020 at 11:35:25AM +0100, Peter Eisentraut wrote: >> On 2020-10-06 12:26, Magnus Hagander wrote: >>> I went with the name --no-instructions to have the same name for both >>> initdb and pg_upgrade. The downside is that "no-instructions" also >>> causes the scripts not to be written in pg_upgrade, which arguably is a >>> different thing. We could go with "--no-instructions" and >>> "--no-scripts", but that would leave the parameters different. I also >>> considered "--no-next-step", but that one didn't quite have the right >>> ring to me. I'm happy for other suggestions on the parameter names. >> >> What scripts are left after we remove the analyze script, as discussed in a >> different thread? > > There is still delete_old_cluster.sh. Well, that one can trivially be replaced by a printed instruction, too. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services