Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h4RLJ-0003AA-8Y for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Mar 2019 14:28:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h4RLI-0002BA-1P for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Mar 2019 14:28:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h4RLH-00028I-Oy for pgsql-hackers@lists.postgresql.org; Thu, 14 Mar 2019 14:28:19 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h4RLF-0001bU-9w for pgsql-hackers@lists.postgresql.org; Thu, 14 Mar 2019 14:28:19 +0000 Received: from msg.df7cb.de (unknown [IPv6:2003:5b:203b:100:7627:eaff:fe52:8e03]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 44KrfS07Yrz3Dws; Thu, 14 Mar 2019 15:28:16 +0100 (CET) Date: Thu, 14 Mar 2019 15:28:15 +0100 From: Christoph Berg To: Magnus Hagander Cc: Michael Paquier , Sergei Kornilov , Fabien COELHO , Michael Banck , PostgreSQL Developers Subject: Re: Offline enabling/disabling of data checksums Message-ID: <20190314142815.GD32045@msg.df7cb.de> References: <20190312124403.GM13812@paquier.xyz> <20190313021621.GP13812@paquier.xyz> <20190313093150.GE2988@paquier.xyz> <20190313101021.GF2988@paquier.xyz> <5217311552474471@myt2-66bcb87429e6.qloud-c.yandex.net> <20190314002342.GC3493@paquier.xyz> 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 Re: Magnus Hagander 2019-03-14 > Are you suggesting we should support running with a master with checksums > on and a standby with checksums off in the same cluster? That seems.. Very > fragile. The case "shut down master and standby, run pg_checksums on both, and start them again" should be supported. That seems safe to do, and a real-world use case. Changing the system id to a random number would complicate this. (Horrible idea: maybe just adding 1 (= checksum version) to the system id would work?) Christoph