ip4r

The ip4r module provides IPv4 and IPv6 data types, IPv4 and IPv6 range index data types, and related functions and operators.

The Greenplum Database ip4r module is equivalent to version 2.4.1 of the ip4r module used with PostgreSQL. There are no Greenplum Database or MPP-specific considerations for the module.

Installing and Registering the Module

The ip4r module is installed when you install Greenplum Database. Before you can use any of the data types defined in the module, you must register the ip4r extension in each database in which you want to use the types:

  1. CREATE EXTENSION ip4r;

Refer to Installing Additional Supplied Modules for more information.

Module Documentation

Refer to the ip4r github documentation for detailed information about using the module.