Re: inet function return untestable texts

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: lwa@teaser.fr, pgsql-bugs@postgresql.org
Date: 2001-04-06T16:27:56Z
Lists: 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