pgsql-bugs(at)postgresql(dot)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