Re: report expected contrecord size

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: report expected contrecord size
Дата
Msg-id 792244.1599168691@sss.pgh.pa.us
обсуждение исходный текст
Ответ на report expected contrecord size  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: report expected contrecord size
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> A pretty minor issue: when reporting that WAL appears invalid because
> contrecord length doesn't match, we may as well print to the server log
> the value that we're expecting.  Patch attached.

ITYW

+                                      (long long) (total_len - gotlen),

just to be sure about what's getting casted to what.  Otherwise +1.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Parallel worker hangs while handling errors.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Maximum password length