Re: BUG #18889: /src/backend/utils/adt/network.c condition is always false - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18889: /src/backend/utils/adt/network.c condition is always false
Date
Msg-id 593243.1744309192@sss.pgh.pa.us
Whole thread Raw
In response to BUG #18889: /src/backend/utils/adt/network.c condition is always false  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> On line 282 there is a check of nb < 0, which is always false, so i think it
> is better to be replaced with 'Assert(nb > 0);'

This one I do agree with getting rid of --- in fact, I don't
even see a need for an Assert.  Done at f27eb0325.

            regards, tom lane



pgsql-bugs by date:

Previous
From: "Euler Taveira"
Date:
Subject: Re: BUG #18888: /src/interfaces/ecpg/preproc/descriptor.c possible NULL dereference
Next
From: Robins Tharakan
Date:
Subject: Re: ERROR: tuple to be updated was already modified by an operation triggered by the current command