CIDR type
Brandon Ibach <bibach@infomansol.com>
From: Brandon Ibach <bibach@infomansol.com>
To: hackers@postgresql.org (PostgreSQL Hackers)
Date: 1998-07-24T05:38:03Z
Lists: pgsql-hackers
Just thought I'd chip in my two cents on all of this. Pardon me if I'm not totally coherent... I've only had a few hours of sleep in the last few days. It seems to me that the best solution is a unified CIDR type (using the proper terminology) which can represent hosts, networks, and/or netmasks in a variety of address families, notably IPv4 and IPv6. Perhaps I don't fully understand what capabilities we have with atttypmod, but could we use it to "subtype" the CIDR type? Then various operations, including input/output, queries, and indexing, could act accordingly. -Brandon :)