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 1nDVrB-0003nz-Qr for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Jan 2022 18:20: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 1nDVr9-0006uW-Dl for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Jan 2022 18:20: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 1nDVr7-0006uM-LT for pgsql-hackers@lists.postgresql.org; Fri, 28 Jan 2022 18:20:19 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nDVr0-0000Pb-5f for pgsql-hackers@lists.postgresql.org; Fri, 28 Jan 2022 18:20:16 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id DB8085C0175; Fri, 28 Jan 2022 13:20:08 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 28 Jan 2022 13:20:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; bh=02ADYq/lEjK6e9WZGBGqf2GY1ZDjRNkPVU9VNB Y34Nw=; b=UZ24drNjsWZ+sYv17wC2QsOZBT5nFaGHtOksrwOolAIXSge/QkDztu 9uhOT3Sk67wcnMUNCxb2PCm9yEHkAFuhxzd6i6aXMTmAarhGPDkYc9wGoN9u7xpg nwAGoolLsBImEaLo9IsKZWPlBFDfM/BJk7Ewgj6MU0xxXUojmWiEhhmCMZY4g3NK rCTjPng7vwtwDMUJaL+1OR2BSmmZAcaq2ssFyEB2j2X5weCph3kQdhCf745b8wnQ 2nYmt/9eLr5kZ21TqjnnC8l/exd/wzdXwBBxPVXCPrko4dnIrvgwVmq5CmbaEhO/ PjALfg9xmo5AR2BG/I/JL9kjRH5gE5uQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=02ADYq/lEjK6e9WZG BGqf2GY1ZDjRNkPVU9VNBY34Nw=; b=lonJlOb6ZITsyW46NuemJu/dHLWhh+jfV mCWq1CHP56popW2fCkUehfJsq83gyJ+5DUWMpenn/V9U3iI4AuxMda+Y4s2RBOzr CImwXwwzyf8H5e4P2gaXppjRT8sgAIiWmziIFRREvOjr0m+5l0x6j8YsjknhbW55 Vyv8lKbBxDgW1ZlvIIP6mzmRWZLH9HoMINYLFIdPUtHm9Zy2hyvnu8SqBblf4G+1 s9DsiGbgXBRXnGp5N+FiRUjBH779+z0ZAWGeCn8d5nBNT6q2LhyG1xCN5O6E7Dwg ntyPbflH7PBv3rm6ftDuFYBfpmaCsjgIooIk5kQdd8NrMNr4KK2pQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrfeehgdduuddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrg htthgvrhhnpedukefhkeelueegveetheelffffjeegleeuudelfeefuedtleffueejfffh ueffudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 28 Jan 2022 13:20:08 -0500 (EST) Date: Fri, 28 Jan 2022 10:20:07 -0800 From: Andres Freund To: Julien Rouhaud Cc: Denis Laxalde , pgsql-hackers@lists.postgresql.org, Jehan-Guillaume de Rorthais Subject: Re: [PATCH] Disable bgworkers during servers start in pg_upgrade Message-ID: <20220128182007.jt5defrrfdb4kr7i@alap3.anarazel.de> References: <20210121152357.s6eflhqyh4g5e6dv@dalibo.com> <20210124003611.lkyxhd2mpdmv5xzh@alap3.anarazel.de> <20210127102511.tvhu2wmrxoz3tle4@dalibo.com> <20210127144132.215fe4bb@firost> <20210312082325.weltivlokfpc3gt2@nol> <54f0d813-a38a-6b72-269a-7d6dd02bcc5b@dalibo.com> <20220128135636.ls2zjbajirbdmrzb@jrouhaud> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220128135636.ls2zjbajirbdmrzb@jrouhaud> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-01-28 21:56:36 +0800, Julien Rouhaud wrote: > I think having a new option for vacuumdb is the right move. Can't we pass the option via the connection string, e.g. something PGOPTIONS='-c binary_upgrade_mode=true'? That seems to scale better than to add it gradually to multiple tools. Greetings, Andres Freund