Re: XLogBeginRead's header comment lies

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: XLogBeginRead's header comment lies
Дата
Msg-id CA+Tgmobo3_10=NTmP+=9KjaUP2OcnSWKgF-7gvts22Y3X9_KGQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: XLogBeginRead's header comment lies  (Dilip Kumar <dilipbalaut@gmail.com>)
Ответы Re: XLogBeginRead's header comment lies  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Wed, Aug 17, 2022 at 6:53 AM Dilip Kumar <dilipbalaut@gmail.com> wrote:
> Thinking again, there is already a code in XLogDecodeNextRecord() to
> error out if XLP_FIRST_IS_CONTRECORD is set so probably we don't need
> to do anything else and the previous patch with modified assert should
> just work fine?

Yeah, that looks right to me. I'm inclined to commit your patch with
some changes to wording of the comments. I'm also inclined not to
back-patch, since we don't know that this breaks anything for existing
users of the xlogreader facility.

If anyone doesn't want this committed or does want it back-patched,
please speak up.

Thanks,

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: shadow variables - pg15 edition
Следующее
От: Vivian Kong
Дата:
Сообщение: RE: s390x builds on buildfarm