Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqVrK-0002Di-2M for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Aug 2018 03:55:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fqVrH-0003Ql-B2 for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Aug 2018 03:55:31 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqVrH-0003Qe-0H for pgsql-hackers@lists.postgresql.org; Fri, 17 Aug 2018 03:55:31 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqVrE-0000PO-3i for pgsql-hackers@postgresql.org; Fri, 17 Aug 2018 03:55:29 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4344821E56; Thu, 16 Aug 2018 23:55:27 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 16 Aug 2018 23:55:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=DIN4KQwIDRORBYOB0GmyC45z3yF2fnRkaH/D4ZgTeos=; b=QlRjZnL6 Nsc8jiS0XRwwRxiAz1QqtFRiIFmiW5DIrUha7DVSxMcj4LpWwDzEffKXyHtcRJvV 4XgVIkD96rxNTN4zPX+N2LGP/QTYNoPdkSV0HXCN/BkXS5J1G+GaJWnM4w/4JGhj 0o1iidCVr4S1iss85/bkaNuo1TIbXGEH/0u/GKCQicSOExTTKcQKOYiVKSPa65SG /6011I0YTFToDLVDMzqJHJ3ot+pZ8Mo+xeI0yxybl3v9dtC2905OVEMwrP3JvoK5 B3oLVcaljDSYPpkpary45NkgSrENwc3fvUx9nW/qxcQhtrF8uUsTCkz2wnjeJ2e/ TmxK26/OHPW6uw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=DIN4KQwIDRORBYOB0GmyC45z3yF2f nRkaH/D4ZgTeos=; b=rwzwpKGHha5wTXTM2wkFbGaWjgsJpScqDAF+IdvvwPoxO IMT2JQfJlvabNM+ZoGKakntoqwidwh03gT/JTPK6t0ZBAclgjHPyzupbpRuHqGvk xDMsU9foejJL9FV+ImZUbDq46BGKufJWy7NnMxl0/SIdHqzDc5B0ymziS8phaFSW zYf5kMGhhXUje3cj2J3NPJzuLRGItw2Q61pJc+AMBHsgMvsjzuN9GAM32uwcOPSe 4/3imvOFSMpToaHmLbxRcSKS/uIKCuTPdGoqhFHLq5CE5o5SXg6W3YXteTI93XJP R17XT/4cP7OIjeDBFvBLuTvnxUK05BnkHtIaOo+jQ== X-ME-Proxy: X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id CE5BA10269; Thu, 16 Aug 2018 23:55:24 -0400 (EDT) Date: Fri, 17 Aug 2018 12:55:21 +0900 From: Michael Paquier To: Andrey Lepikhov Cc: PostgreSQL-Dev Subject: Re: [PATCH] XLogReadRecord returns pointer to currently read page Message-ID: <20180817035521.GF1693@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0rSojgWGcpz+ezC3" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0rSojgWGcpz+ezC3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 17, 2018 at 08:47:15AM +0500, Andrey Lepikhov wrote: > Previously, in all cases of using WAL this was not a problem. However if = you > plan to perform some decoding operations before returning the WAL record = to > the caller (this is my case), this can lead to bugs that are difficult to > catch. What kind of cases with logical decoding are you referring to? If=20 any of them can be reproduced with upstream, could you send a reproducer, or a way to see it? -- Michael --0rSojgWGcpz+ezC3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlt2RykACgkQnvQgOdby QH0Cyg//SDpOLfonHwMS6L5TYIOvIyAChHTJMsNhqp5/+oSPGEk/VkrEkTOWdfHA 5GXwDQwcAEfn9076MBN1+O+I1enx1q6IyNSWOEXz3XidxXgKN1WoGwof9VCutLvQ JfjQzsRjm9K0llgsZ643NuYlDX0aHEeZxwWnfJKkhKW/yqwE5xAE245V3lQT1c/Y Q4Vqm1oV+0+O+jmZUays1sB84Q/zejPdobGn4Fupre1A2+NUpR9nh8gSZNxu8/Cv i2jGD0IhYS5nAMPZFEO0fNuJEqRDyAq41Kxg2oN16qjsgyCkSnzDIlscAaG2a+Cq uqUK9PNDaGcQmZk4aFL7n0s/Dw+Z0Lm+9huWdRyU9ahSMXd5Fe7nb2NDa1XWb7WP mxRvJMruvJhHncumhDXKAPJB2V+Vg+4RturN6sAsRVNNkopK05qoA41hJ28Dkosf DBCBQAX/NBObEm8i/R3A/Br/8PFHG3yFb1LeKi5Eb4ZwzFhGMmQcW4ik93AbF3Ra DeevLe3hiqAFMRdjQtr429bel2TlHJ4d0wwH+64q6Na4yqJgFWFLkPwMFd/aPw2A 2slNsCU/cV0GAD/snvIGy+poouK21BwUfhSk1aZyIsRjAvjb5XnkH2VvrqYy1awb cOzzuhhhKpKW/4cqaQcAgIjfAg8PXydOmaOua9GwXAEz1HYbRuw= =Luej -----END PGP SIGNATURE----- --0rSojgWGcpz+ezC3--