In psql, gethostbyname() is defined as taking a text parameter and return an
inet type value or reference.
However, if you do
psql=# select gethostbyname('www.postgres.org');
gethostbyname
---------------
<unprintable>
(1 row)
the inet address will be unprintable.
Has anyone got any idea?
Phillip Pan
-----------