"Vadim I. Passynkov" <[EMAIL PROTECTED]> writes:
> I ask now about why logical same functions host(inet) and netmask(inet)
> return different types ?

There was a *long* discussion about this last year, and we concluded
that was the right thing to do.  See the mail archives if you want the
details --- but the key point is that host() text() and abbrev() are
primarily useful to allow non-default display formatting of inet/cidr
values, so they should produce text.  If they produced another inet
value then they'd be unable to control how that value got formatted
for display.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to