Re: Fix an incorrect assertion condition in mdwritev().

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Fix an incorrect assertion condition in mdwritev().
Дата
Msg-id ZlMYAYlNSZe8Wk5s@paquier.xyz
обсуждение исходный текст
Ответ на Re: Fix an incorrect assertion condition in mdwritev().  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, May 26, 2024 at 12:08:46AM -0400, Tom Lane wrote:
> After a few minutes' thought, how about:
>
>     Assert((uint64) blocknum + (uint64) nblocks <= (uint64) mdnblocks(reln, forknum));

LGTM.  Yeah that should be OK this way.
--
Michael

Вложения

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

Предыдущее
От: Junwang Zhao
Дата:
Сообщение: Re: Improve conditional compilation for direct I/O alignment checks
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Improving tracking/processing of buildfarm test failures