Search Postgresql Archives

Re: Bug? Netmask of CIDR as TEXT has trailing masklen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux