Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qx1pn-00Fo53-Nv for pgsql-general@arkaria.postgresql.org; Sun, 29 Oct 2023 09:11:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qx1pk-006xca-Ly for pgsql-general@arkaria.postgresql.org; Sun, 29 Oct 2023 09:11:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qx1pk-006xcS-9A for pgsql-general@lists.postgresql.org; Sun, 29 Oct 2023 09:11:48 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qx1pd-002rdS-Dr for pgsql-general@lists.postgresql.org; Sun, 29 Oct 2023 09:11:46 +0000 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-53d8320f0easo5560450a12.3 for ; Sun, 29 Oct 2023 02:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698570699; x=1699175499; darn=lists.postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=F/apwR1mcT/XgzcLCoqmDIM7RNf1ORUtPrD9N+f+/Fk=; b=Nh7QNwyP6TOPI7pZmOK16yJTWxQTkScJseLd2bvZBTHZWgND8WCr0Bt+DDCLLZWTko WTIvoDu+PgDXsyrIJkUP9yv+E7KbYszsr/xw7+fDO6UvWaOQNk02R2M3iSB2GAlDflsn z4Dk7GICNkuXBxaWjmEXvB667WL+w7KtGV2clKcvHkbgF0FV5Qubw6bJBN+R80qQpB4C t9BfGN7V62mf23w32zvPTsJhZuGL4/j1pRi7+IhJ8iS18MnHljoFGpxO4IVB3bpDWwrm oZE7zQtb3UtdlNVSFuNDaQ/kr5PpYW44kBBn6S6GpSDmr0S6H8Q+kipz6HIFy8NbamuN npIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698570699; x=1699175499; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F/apwR1mcT/XgzcLCoqmDIM7RNf1ORUtPrD9N+f+/Fk=; b=tdQMLaOlZRU0lIL+SgRfMq4K00Jff1J7TSOZD4UtMbuHqV+IDVbwKFaLikHLIGZ2LO VYnG0JwePcbvoxvI+6qA+up/w1Jf3YhNvGF2UItn6dlo5A0i6JqhiSJAtN+oQgluf7N9 lFOAXfOC9cpLTRgnKi0rWj5Z/bDZZfH5hOegOp/l6bZgMxqNcYrGRL8BmcCGp1pDlE38 qiuM+ICRsQGpeyTsgVqVCewDMCJfEOwkVYXStsttgWdSe5Uza4S9lNVrgHODZOYC7cMh R8kdeXDv3ybra1PkUFhg0uOlxEBJlf7nscO1+c4qGg+6cZEsi8yXWHarN6E/wgo/gso7 CAAg== X-Gm-Message-State: AOJu0YyyzHxyYmtjfdahfWZ6Xc+zGJfGAZRxmw2wtW/RCHhmQaJVgHVn BG7UqQvY5t0jgKsbtslIGCA= X-Google-Smtp-Source: AGHT+IG3aYI3NMtnXxW8aE3VFRmbhGJwWzm9WeoYvJKr/M3fx1uK/Qq9d07GJxmDomlCdif4lrgwHw== X-Received: by 2002:a17:906:4fd0:b0:9c7:4dab:20ea with SMTP id i16-20020a1709064fd000b009c74dab20eamr6887664ejw.67.1698570698750; Sun, 29 Oct 2023 02:11:38 -0700 (PDT) Received: from smtpclient.apple (26-36-239-77.dyn.cable.fcom.ch. [77.239.36.26]) by smtp.gmail.com with ESMTPSA id oy29-20020a170907105d00b009b29553b648sm3961557ejb.206.2023.10.29.02.11.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Oct 2023 02:11:38 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Subject: Re: pg_checksums? From: =?utf-8?Q?Paul_F=C3=B6rster?= In-Reply-To: <20231029014310.7pbdfhincj2tds4l@hjp.at> Date: Sun, 29 Oct 2023 10:11:07 +0100 Cc: pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <81D43A87-7D3D-4F81-B462-641F15B5E332@gmail.com> References: <22272207-E6E5-4DD5-9BD4-5F6B647E2C3B@gmail.com> <0D18D31E-EF52-434D-875C-08BEC8DDD553@yesql.se> <20231029014310.7pbdfhincj2tds4l@hjp.at> To: "Peter J. Holzer" X-Mailer: Apple Mail (2.3774.200.91.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Peter > On Oct 29, 2023, at 02:43, Peter J. Holzer wrote: > I don't think so. AFAIK Replication keeps the data files in sync on a > bit-for-bit level and turning on checksums changes the data layout. > Running a cluster where one node has checksums and the other doesn't > would result in a complete mess. I agree with the last sentence. This is why I asked if it is safe to = enable checksums on a replica, switch over and then do it again on the = ex primary, i.e. now new replica without doing a reinit. Cheers Paul=