databases/postgresql-ip4r 2.4.3 OpenBSD
IPv4/v6 and IPv4/v6 range index type for PostgreSQL
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
a88375a905- Categories
- databases, net
Description
IP4R is a PostgreSQL extension which supports 6 data types allowing you to store IPv4 & IPv6 addresses in a PostgreSQL table:
ip4 - a single IPv4 address ip4r - an arbitrary range of IPv4 addresses ip6 - a single IPv6 address ip6r - an arbitrary range of IPv6 addresses ipaddress - a single IPv4 or IPv6 address iprange - an arbitrary range of IPv4 or IPv6 addresses
While PostgreSQL already has builtin types 'inet' and 'cidr', the authors of this module found that they had a number of requirements that were not addressed by the builtin types.
Install
Binary package:
pkg_add postgresql-ip4r
From the ports tree:
cd /usr/ports/databases/postgresql-ip4r && make install
Dependencies
Build dependencies 2
Run dependencies 1
No port depends on this one.