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 1nBtMW-0002w4-Nj for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Jan 2022 07:02:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nBtMV-000398-Kt for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Jan 2022 07:01:59 +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 1nBtMT-00038t-Vw for pgsql-hackers@lists.postgresql.org; Mon, 24 Jan 2022 07:01:59 +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 1nBtMR-0005AR-0e for pgsql-hackers@postgresql.org; Mon, 24 Jan 2022 07:01:56 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6E6CF5C0073; Mon, 24 Jan 2022 02:01:53 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 24 Jan 2022 02:01:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; 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=mL4xRbl/7uAfJfBUxKRvL0JIsgh8PO9kamt2U2 Y/orw=; b=JVSu1z8gcFl/Kg3X5/GlqwSWhGDZH8BKqafVgKh6EvG5iKtRIXuDCZ O1HQjk1LOJvnT9BCl6ExJhcJXEiKivolgJA/eiNCBJJnWrO0yspJafQemIW+brBG lJeBvDlBOlLojeI5oWR0YdoN3Uw8Wx2IE+sVsfUUhmwjrN6/09AO/TYtBcOkAjj9 K5QCSpRfsDRq7f1vXSWdNRiluiTr5LkQSDVO68eOWXrEiTjnGyfSm3GJmCGUSVjy /6hgIN5ZE9B+lLzP/FshmU7fOQuX7mDmHZCokOEWY6xPfOt24Ai6Jh0KD4kxWSlj gzT1fdUfEEgFZx2QRYDWmfp308ttxu+A== 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=mL4xRbl/7uAfJfBUx KRvL0JIsgh8PO9kamt2U2Y/orw=; b=ICgsIQTeftjpCdGjp155Pel+XBSmt+IOD 3Xq0l+4W6LZ0Bf9x5VUdMiTb6gMV26ePNYbBcPqbX9u13yaN50XcyRO5fB5MWJLC YallWH1nlsJh6hoAEKf3XklneOSFnf+KHCxxxuA/prTEYz/DZM7I9H3l/fn+JAkJ qwR2/y55iEQpRTuTaIMIGpsUuAQMiwekayOp141ohTtT6cxwPTuRmLynCBWbm20s O/PQ7SqTNbNVYyBPb6eD+2qsxb6xIaO1cvP7zD7Dt8pti3tBcuFJbwgV/m5c64HE QxQOdEsJsf7H6aHdnYPwg8rU/LuehYF4SW+B/D3ec5O+bzJWKQbbw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrvdehgddutdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 24 Jan 2022 02:01:52 -0500 (EST) Date: Mon, 24 Jan 2022 16:01:47 +0900 From: Michael Paquier To: Justin Pryzby Cc: pgsql-hackers@postgresql.org Subject: Re: typos Message-ID: References: <20220124030001.GQ23027@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UV4i2AV5JzeZit/c" Content-Disposition: inline In-Reply-To: <20220124030001.GQ23027@telsasoft.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --UV4i2AV5JzeZit/c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 23, 2022 at 09:00:01PM -0600, Justin Pryzby wrote: > Feel free to ignore this for now and revisit in April... I don't mind fixing that now. That means less to do later. > @Michael: I'm not sure what this is trying to say. > 1e9475694b0ae2cf1204d01d2ef6ad86f3c7cac8 > + First, scan the directory where the WAL segment files are written = and > + find the newest completed segment file, using as starting point the > + beginning of the next WAL segment file. This is calculated indepen= dently > + on the compression method used to compress each segment. >=20 > I suppose it should say independently *of* the compression method, but th= en I > still don't know what it means. I checked FindStreamingStart(). > It that doesn't look like it's "calculated independently" - actually, it = takes > the compression method into account and explicitly handles each compressi= on > method. This means that we are able to calculate the starting LSN even if the segments stored use different compression methods or are uncompressed. Would you reword that differently? Or perhaps removing the last sentence of this paragraph would be simpler in the long run? -- Michael --UV4i2AV5JzeZit/c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmHuTtsACgkQnvQgOdby QH0HYA/+JU76IEVlyMWFeQFY0RPVk85UZbVH7NAADvZ7XdQmjwA6+yEo5MpoNzoZ J6/BzyggV6NjkR1yHRZfcBUk49lzMv5a8i2l0BjdlezYajtW8Jv6YbrSZUm4wL9D VEuaOHHOdRR3EYP1mzfGqLB67T1NyzOJllBpR1oPYomCdib1O2n76XWQW8sRgvRl dDVayxCApP+AOsiyG8EPclW0P0AmEjB4IF2hOb/KYyIpIfzwG5rCEDGthYsEeCuG DNWv4GECcFt/EcZjEja3K5Xd2I1MzuuKLgP/snfP2nWRYu/BcnCGqsfw8TGrupr0 feUYFHaVpobxz4J7DmTwxSSOesoYBdbUryuc6BOH6ry+T2gElMT+ryuwwGY0qyL/ EF1Gw+FYYYDM3xwQ7363i/vZlp9d+gTlsBz+Ow0ozwhmvxQDx0r8Pvtw18upl2wt mhDLy5LJfZyUZAX6QByKXikJldpHbtNsG7bmv/1AqI5eVGeckoLpuQNd8PeLMmux yht+2TP6d7l4cdUeh0MYY+Nk+zaGpaoBCVWi+IV205U0VdRdeBTAcI3N69kPCMOC xVu6Lqtg5v/87x6v3EZOrhgmYNmurUiZ+H/BAYtzxHe+PiMTzZ9xe0jn5Khx5Ton Y9m2U8krkK5Bw29sdKVBtNz6L5TOvTUOwZ8jwqepTxa6WQbjCD8= =oFiT -----END PGP SIGNATURE----- --UV4i2AV5JzeZit/c--