Re: report expected contrecord size

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: report expected contrecord size
Дата
Msg-id 796879.1599172922@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: report expected contrecord size  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: report expected contrecord size
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2020-Sep-03, Tom Lane wrote:
>> Uh ... is it really possible for gotlen to be more than total_len?
>> (I've not looked at the surrounding code here, but that seems weird.)

> Well, as I understand, total_len comes from one page, and gotlen comes
> from the continuation record(s) in the next page(s) of WAL.  So if
> things are messed up, it could happen.  (This *is* the code that
> validates the record, so it can't make too many assumptions.)

Got it.  No further objections.

            regards, tom lane



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: report expected contrecord size
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Maximum password length