Re: [PATCH] XLogReadRecord returns pointer to currently read page
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: a.lepikhov@postgrespro.ru, hlinnaka@iki.fi, pgsql-hackers@postgresql.org
Date: 2018-11-19T04:24:34Z
Lists: pgsql-hackers
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
Commits
-
Improve description of buffer used to store records in WAL reader
- 0999ac479292 12.0 landed
-
Remove unnecessary memcpy when reading WAL record fitting on page
- 285bd0ac4a7c 12.0 landed