Re: inet function return untestable texts - Mailing list pgsql-bugs

From Tom Lane
Subject Re: inet function return untestable texts
Date
Msg-id 26547.986574476@sss.pgh.pa.us
Whole thread Raw
In response to inet function return untestable texts  (pgsql-bugs@postgresql.org)
List pgsql-bugs
pgsql-bugs@postgresql.org writes:
> host, netmask, etc.. inet function return unusable strings :
> for example, host('10.0.0.1') print '10.0.0.1' but
> is you make a comparison with '=', the result is alway false.

This is fixed in 7.1.  Someone forgot that text values shouldn't
have trailing nulls ...

            regards, tom lane

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: inet function return untestable texts
Next
From: Justin Clift
Date:
Subject: Re: PostgreSQL 7.0.2 Date Miscalculation