nomad@xxxxxxxx writes: > Ah, I just noticed that the return value of the netmask() function is > of type 'inet' and that is (in my mind) where the actual issue is. A > netmask may have the same underlying form and space requirements as an > internet address or subnet, but it isn't really the same thing. Maybe, but we're not going to invent a whole new datatype just to represent that. Perhaps you would be happier using the masklen() function. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general