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 1gOb8W-00018R-F9 for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Nov 2018 04:26:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gOb8V-0004X2-8n for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Nov 2018 04:26:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gOb75-0002Fr-W7 for pgsql-hackers@lists.postgresql.org; Mon, 19 Nov 2018 04:24:44 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gOb73-0001KP-6L for pgsql-hackers@postgresql.org; Mon, 19 Nov 2018 04:24:42 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id D193EA4A; Sun, 18 Nov 2018 23:24:39 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 18 Nov 2018 23:24:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=rnQAzxbAtwT+OKyuAzFf1PqtIi6 lWsH9zwtv8GkkAsc=; b=kuFJjaEFXpHU5oAOGbbx+2FRT15JihpfrP5FXfh4xUq TuBrUDXPCsN7/c0qywpPzhh2v0QfuUbXRNEox3nbAmXTyt7QHi1Jr6JVqKVRVdHV 2cSXNTm1MdwjDOUUcHFJF+OcfwJ0kHThx2kdnCQJQe4lM4AAbJBJoocfn8qbb73C Bq/QN45Dk/df6ksl932QnJSMf+koLWoXn9DMwu38G5a9IUluryhlnmuSvwoBP3oo hz3pqS3UWa2jvf792uAwREJCExvNJRipL6xJ0ncRJOJooKQzy9m+THFHeZxA3eBH etWXsIaoDuEVFWnsqUBIjY1WGjZbv2rupSd9SIorYSA== 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-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=rnQAzx bAtwT+OKyuAzFf1PqtIi6lWsH9zwtv8GkkAsc=; b=rOW5qi+VILKlQ9mGE1NhHt gK1hMCRoSMUcKzpJbI3vD1ML+cZScZuouux2epNCI3CuYnLVmgtqu4oSl5f8tADX SgdoXzt0cl07vLuVVhpBTVzgdx16t4sME2Dfy8qXHbfitTtD2ARcJyLrU6AsnhOL ifXxbzYWW9LigxMFMti3RHNTw2kItodYyDb6TVTozELaigNnhDQh4hOPFMrCXn+8 dtpuZJ6xF0gcpqhGQGGjBTnpSW2G/KnTquXb5lPrSU4g+6PWKLVMAtaQPiDCO9RT x7dNAWN028eXiVG0ckN5pBheD0OqliguBCqTARxrXaKszqOFsCy203rcQigBM/mg == X-ME-Sender: X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 22158102DD; Sun, 18 Nov 2018 23:24:36 -0500 (EST) Date: Mon, 19 Nov 2018 13:24:34 +0900 From: Michael Paquier To: Kyotaro HORIGUCHI Cc: a.lepikhov@postgrespro.ru, hlinnaka@iki.fi, pgsql-hackers@postgresql.org Subject: Re: [PATCH] XLogReadRecord returns pointer to currently read page Message-ID: <20181119042434.GD4400@paquier.xyz> References: <20181115.181238.258013477.horiguchi.kyotaro@lab.ntt.co.jp> <20181116062355.GE6613@paquier.xyz> <20181119012728.GA1578@paquier.xyz> <20181119.122806.155639879.horiguchi.kyotaro@lab.ntt.co.jp> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GxcwvYAGnODwn7V8" Content-Disposition: inline In-Reply-To: <20181119.122806.155639879.horiguchi.kyotaro@lab.ntt.co.jp> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --GxcwvYAGnODwn7V8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 19, 2018 at 12:28:06PM +0900, Kyotaro HORIGUCHI wrote: > Yeah, it is incorrect in some sense, but the comment was > suggesting the lifetime of the pointed record. So I'd like to > have a comment like this instead. I think that we can still live without as it is not the business of this routine to be careful how the lifetime of a record read is handled, but that's part of the internals of XLogReader. -- Michael --GxcwvYAGnODwn7V8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlvyOwIACgkQnvQgOdby QH1aMw/+PrHClPBIfVAYZFtWiDE020DgLM87F9iblLkQvNFtB2c+UZ9zZZPidacn D6dXMU3K0rn1LSjdFG9zdDJRnxtMNZ7SHfQBpYQl5atc5vMBRA6tgq4VFZKz7fmN 35j2HiXk0LYcewyZi8oQ8iH4df4viKsI9NKPplu45JnHwyE6+7trtci6I3t7i5Pn frQz8PlDuHHyfwbSfq1aJyB9ROe36VEAW6bUYJBEATYWVjVJjHaLix7lv97qSZL4 aAx2cPRaK/Buu6pkx5HN6+zXhNehM0u2e4UpnLK/BZojdwQHknl1b6edSuhPGrbm dthKVftkm/gz8HW03qaO8zTeWWQbmLo4PXuHdBHT/7GEW0w1/EGWEGwSF5hAUdie c3AQgwRYGrEjXg7yfcp+XhnNnQb2DupAY31BXBGa5vNVtx6uBX8ARigZQripJIoE 4LlifWHajKzLXfFBZgvMMrafX7Xx2xk7gjPZir7u82b0m9QC7c7ZPGqnKsj7ze3d bMzZP8G32n8eTJmjHA0v/BincGWNTwgEA7tUiGE+DpDUICaL0zfJC2v2d6KtIfcB 3/Ai2Lhx/ZnXTeSV7ccPvg+8Ao2lz5OMiLy+PVYqIZjAtOP3fOrDkfQ0b4dDvuvz fkxyOU6HA2t/qrV2s4Y3OEFh560ivyJwjOEJDWjP1LRk8sLvSiQ= =b+7m -----END PGP SIGNATURE----- --GxcwvYAGnODwn7V8--