Re: [PATCH] XLogReadRecord returns pointer to currently read page

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [PATCH] XLogReadRecord returns pointer to currently read page
Дата
Msg-id 20181119012728.GA1578@paquier.xyz
обсуждение исходный текст
Ответ на Re: [PATCH] XLogReadRecord returns pointer to currently read page  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: [PATCH] XLogReadRecord returns pointer to currently read page  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Список pgsql-hackers
On Fri, Nov 16, 2018 at 03:23:55PM +0900, Michael Paquier wrote:
> I was looking at this patch, and shouldn't we worry about compatibility
> with plugins or utilities which look directly at what's in readRecordBuf
> for the record contents?  Let's not forget that the contents of
> XLogReaderState are public.

And a couple of days later, committed.  I did not notice first that the
comments of xlogreader.h mention that a couple of areas are private, and
readRecordBuf is part of that, so objection withdrawn.

There is a comment in xlog.c (on top of ReadRecord) referring to
readRecordBuf which has not been removed as part of 7fcbf6a4 when WAL
reading has been moved to its own facility.  The original comment was
from 0ffe11a.  So I have removed the comment at the same time.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "范孝剑(康贤)"
Дата:
Сообщение: Can I skip function ResolveRecoveryConflictWithSnapshot if setting hot_standby_feedback=on all the time
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] PoC: full merge join on comparison clause