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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Fix an incorrect assertion condition in mdwritev().
Дата
Msg-id Zl_lQQVprXdvhrZH@paquier.xyz
обсуждение исходный текст
Ответ на Re: Fix an incorrect assertion condition in mdwritev().  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Mon, Jun 03, 2024 at 03:24:07PM -0700, Andres Freund wrote:
> I'm confused - isn't using common/int.h entirely sufficient for that? Nearly
> all architectures have more efficient ways to check for 64bit overflows than
> doing actual 128 bit math.

One simple way to change the assertion would be something like that, I
assume.  Andres, does it answer your concerns?
--
Michael

Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Logical Replication of sequences
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Fix use of possible uninitialized variable retval (src/pl/plpgsql/src/pl_handler.c)