Re: pgsql: Ensure that length argument of memcmp() isn't seen as negative.

2022-02-15 Thread Andres Freund
Hi, On 2022-02-15 22:28:23 +, Tom Lane wrote: > Ensure that length argument of memcmp() isn't seen as negative. > > I think this will shut up a weird warning from buildfarm member > serinus. Perhaps it'd be better to change tsCompareString's > length arguments to unsigned, but that seems mor

pgsql: Ensure that length argument of memcmp() isn't seen as negative.

2022-02-15 Thread Tom Lane
Ensure that length argument of memcmp() isn't seen as negative. I think this will shut up a weird warning from buildfarm member serinus. Perhaps it'd be better to change tsCompareString's length arguments to unsigned, but that seems more invasive than is justified. Part of a general push to remo