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 1l4lTB-0000R3-B0 for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Jan 2021 14:06:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l4lTA-000840-8y for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Jan 2021 14:06:52 +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 1l4lTA-00083t-1H for pgsql-hackers@lists.postgresql.org; Wed, 27 Jan 2021 14:06:52 +0000 Received: from mail1.dalibo.net ([212.83.143.11] helo=mail.dalibo.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l4lT7-0000Gp-DQ for pgsql-hackers@lists.postgresql.org; Wed, 27 Jan 2021 14:06:51 +0000 Received: from firost (larco.ioguix.net [82.66.0.6]) by mail.dalibo.com (Postfix) with ESMTPSA id 316EA20455; Wed, 27 Jan 2021 15:06:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dalibo.com; s=a; t=1611756407; bh=RNQrJTXd322VWWsvDeYar08DYbupWXXlA3VvVgsK+Uo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=aeSl2u/LKz5GhL54lLKpEWnCcXxBe1c6lBC+NcuKezv/jNJho4dqZN0F/1FCNrBHX JgsE4qi9y5LSB9WeK4vuus4phEgH1tzmLqQgXtcgE1nHFK4Ok9Q5EKdCkOuN5f0eQZ E6Lw3fv4OZBMhIysFNOiClTkSe4MrAfwnmE53jys= Date: Wed, 27 Jan 2021 15:06:46 +0100 From: Jehan-Guillaume de Rorthais To: Andres Freund Cc: Denis Laxalde , pgsql-hackers@lists.postgresql.org Subject: Re: [PATCH] Disable bgworkers during servers start in pg_upgrade Message-ID: <20210127150646.7e6f1070@firost> In-Reply-To: <20210127144132.215fe4bb@firost> References: <20210121152357.s6eflhqyh4g5e6dv@dalibo.com> <20210124003611.lkyxhd2mpdmv5xzh@alap3.anarazel.de> <20210127102511.tvhu2wmrxoz3tle4@dalibo.com> <20210127144132.215fe4bb@firost> Organization: Dalibo MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Oh, I forgot another point before sending my previous email. Maybe it might worth adding some final safety checks in pg_upgrade itself? Eg. checking controldata and mxid files coherency between old and new cluster would have catch the inconsistency here.