From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: a.lepikhov@postgrespro.ru
Cc: hlinnaka@iki.fi
Cc: pgsql-hackers@postgresql.org
Subject: Re: [PATCH] XLogReadRecord returns pointer to currently read page
Date: Mon, 19 Nov 2018 13:24:34 +0900
Message-ID: <20181119042434.GD4400@paquier.xyz> (raw)
In-Reply-To: <20181119.122806.155639879.horiguchi.kyotaro@lab.ntt.co.jp>
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>
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
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: michael@paquier.xyz, horiguchi.kyotaro@lab.ntt.co.jp, a.lepikhov@postgrespro.ru, hlinnaka@iki.fi
Subject: Re: [PATCH] XLogReadRecord returns pointer to currently read page
In-Reply-To: <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> <20181119042434.GD4400@paquier.xyz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox