Re: BUG #19039: UNREACHABLE_CODE: Remove unreachable code in network_send - replace with assertion

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: BUG #19039: UNREACHABLE_CODE: Remove unreachable code in network_send - replace with assertion
Дата
Msg-id 7388F082-82AE-46B9-B613-B9663BC7F7D6@yesql.se
обсуждение исходный текст
Ответ на BUG #19039: UNREACHABLE_CODE: Remove unreachable code in network_send - replace with assertion  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
> On 2 Sep 2025, at 09:06, PG Bug reporting form <noreply@postgresql.org> wrote:

> if (nb < 0)
>    nb = 0;
>
> is unreachable because the ip_addrsize(addr) function can only return one of
> two possible values:

Thanks for the report, this has already been fixed in f27eb0325b7b.

--
Daniel Gustafsson




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