Re: BUG #19039: UNREACHABLE_CODE: Remove unreachable code in network_send - replace with assertion
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: gorcom2012@gmail.com,
pgsql-bugs@lists.postgresql.org
Date: 2025-09-02T11:54:06Z
Lists: 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