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 1tl9Za-009i43-EO for pgsql-docs@arkaria.postgresql.org; Thu, 20 Feb 2025 16:38:50 +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 1tl9ZY-009hAf-CH for pgsql-docs@arkaria.postgresql.org; Thu, 20 Feb 2025 16:38:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tl9ZY-009hAX-4u for pgsql-docs@lists.postgresql.org; Thu, 20 Feb 2025 16:38:48 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tl9ZW-001zZu-03 for pgsql-docs@lists.postgresql.org; Thu, 20 Feb 2025 16:38:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2025010100; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=uOtl8+NISqCNbndwYZ3YoxV2ekXDfIiIkdGG8+EqvI8=; b=rLSQd 0x2QXzcDxRxlYNZ+ZJTk35x0w5FqBeVMTmJLQLbOuTgCCGXfP/e+GEPAd1HHL4dWtyKWd4ip+HK7p Xx0DKCv0jqsz8/D4XbaNqjWiCaeQrH1Kh9u0MBaNddkuTRUDFObrOFSCsIDpDpu3rnTZOEXBjNiWl L4z680cAWyRlDYiAPW5l1s/kHvLGzYg9hq9iVqqzj8ztC9AISHK3EitPhBrgD+w3Is3qaHPqPhKuI B2Ne/dMO865S1oFFVR2wz2QPHL+iwPDkFOwqjZ06tRuraiQvaMxA/KU7zeSbpgywQvPkUWeboSEuJ z/3N+csuj+pIuEQ8oPXMdKRe9c4Uw==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1tl9ZT-003M0c-31; Thu, 20 Feb 2025 11:38:43 -0500 Date: Thu, 20 Feb 2025 11:38:43 -0500 From: Bruce Momjian To: afripowered@gmail.com, pgsql-docs@lists.postgresql.org Subject: Re: Second paragraph a little bit misleading Message-ID: References: <173928241056.707.3989867022954178032@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="T7q5L8QLecnkcOOH" Content-Disposition: inline In-Reply-To: <173928241056.707.3989867022954178032@wrigleys.postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --T7q5L8QLecnkcOOH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 11, 2025 at 02:00:10PM +0000, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/17/checksums.html > Description: > > Hi there, > > I think that the first sentence of the second paragraph in this page is a > little bit misleading. The first paragraph states that checksums are not > enabled by default. The first sentence in the second paragraph sounds like > it IS enabled by default when using initdb, but you have to pass -k > explicitly. > > As far as I understood, it's a good idea to enable this and that is what the > beginning of the second paragraph means. > > Maybe a sentence like "Checksums should normally be enabled when the cluster > is initialized using initdb" instead of "are" - or "It's recommended to > enable Checksums when initializing a cluster using initdb". I can see your point. Attached is a doc patch that improves it. I chose very simple language and plan to backpatch this to all supported versions. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Do not let urgent matters crowd out time for investment in the future. --T7q5L8QLecnkcOOH Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="checksum.diff" diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml index 52b5b8f793b..705ca682777 100644 --- a/doc/src/sgml/wal.sgml +++ b/doc/src/sgml/wal.sgml @@ -246,7 +246,7 @@ - Checksums are normally enabled when the cluster is initialized using initdb. They can also be enabled or disabled at a later time as an offline operation. Data checksums are enabled or disabled at the full cluster --T7q5L8QLecnkcOOH--