> select inet_aton(namatable.host) from ...> > how can i do in postresql??
Try these:
http://www.postgresql.org/docs/7.4/static/functions-net.html
You need to be using the 'inet' or 'cidr' types.
Chris